-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
package.json
121 lines (121 loc) · 4.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "draft-js-markdown-shortcuts-plugin",
"version": "0.5.0",
"description": "A DraftJS plugin for supporting Markdown syntax shortcuts",
"main": "lib/index.js",
"scripts": {
"eslint": "node_modules/.bin/eslint .",
"build": "npm run clean && npm run build:js",
"build:demo":
"NODE_ENV=production webpack --config demo/webpack.config.prod.js && rm -rf demo/.circleci && rm -rf demo/public/css && cp -R demo/publicTemplate/.circleci demo/public/ && cp -R demo/publicTemplate/* demo/public/",
"build:js":
"BABEL_DISABLE_CACHE=1 BABEL_ENV=production NODE_ENV=production node_modules/.bin/babel --out-dir='lib' --ignore='**/__test__/*' src",
"clean":
"node_modules/.bin/rimraf lib; node_modules/.bin/rimraf demo/public",
"deploy:demo":
"COMMIT=$(git rev-parse --short HEAD) && BRANCH=gh-pages && GIT_URL=$(git config --get remote.origin.url) && DIR=.deploy; rm -rf $DIR; (git clone $GIT_URL -b $BRANCH $DIR || (git init $DIR && cd $DIR && git remote add origin $GIT_URL && git checkout -b $BRANCH)) && rm -rf ${DIR}/* && cp -R ${DIR}/../demo/public/* $DIR && cd $DIR && git add -A && git commit -m \"Built artifacts of ${COMMIT}\" && git push origin $BRANCH",
"prepublish": "npm run build",
"start": "npm run start:dev",
"start:dev": "node_modules/.bin/babel-node ./demo/server.js",
"test": "npm run test:coverage",
"test:coverage":
"node_modules/.bin/nyc --require babel-core/register npm run test:mocha",
"test:mocha": "mocha --opts .mocha.opts $(find src -name '*-test.js')",
"test:watch": "npm test | npm run watch",
"watch": "npm-watch",
"postinstall": "opencollective postinstall"
},
"watch": {
"test": {
"patterns": ["src/**/*.js"]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/ngs/draft-js-markdown-shortcuts-plugin.git"
},
"keywords": ["draftjs", "editor", "plugin", "markdown"],
"author": "Atsushi Nagase",
"license": "MIT",
"bugs": {
"url": "https://github.com/ngs/draft-js-markdown-shortcuts-plugin/issues"
},
"homepage":
"https://github.com/ngs/draft-js-markdown-shortcuts-plugin#readme",
"devDependencies": {
"autoprefixer": "^6.5.3",
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.8",
"babel-plugin-rewire": "^1.0.0",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-0": "^6.16.0",
"chai": "^3.5.0",
"chai-enzyme": "^1.0.0-beta.0",
"cheerio": "^0.22.0",
"coveralls": "^2.11.15",
"css-loader": "^0.26.0",
"css-modules-require-hook": "^4.0.5",
"dirty-chai": "^1.2.2",
"draft-js-plugins-editor": "2.0.4",
"draft-js-prism": "^1.0.5",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^3.11.1",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "2.2.3",
"eslint-plugin-mocha": "^4.7.0",
"eslint-plugin-react": "^6.7.1",
"express": "^4.14.0",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.9.0",
"flow-bin": "^0.36.0",
"history": "^2.0.0",
"jsdom": "^9.8.3",
"mocha": "^3.2.0",
"mocha-junit-reporter": "^1.12.1",
"mocha-multi-reporters": "^1.1.1",
"npm-watch": "^0.1.6",
"nyc": "^10.0.0",
"postcss-loader": "^1.1.1",
"prismjs": "^1.6.0",
"raf": "^3.4.0",
"react": "^16.2.0",
"react-addons-pure-render-mixin": "^15.4.1",
"react-addons-test-utils": "^15.4.1",
"react-dom": "^16.2.0",
"react-github-fork-ribbon": "^0.5.1",
"rimraf": "^2.5.4",
"sinon": "^1.17.6",
"sinon-chai": "^2.8.0",
"static-site-generator-webpack-plugin": "^3.1.0",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"webpack": "^1.13.3",
"webpack-dev-middleware": "^1.8.4",
"webpack-hot-middleware": "^2.13.2"
},
"peerDependencies": {
"draft-js-plugins-editor":
"^2.0.0 || ~2.0.0-rc.1 || 2.0.0-rc2 || 2.0.0-rc1 || 2.0.0-beta12",
"react": "^16.0.0 || ^15.0.0",
"react-dom": "^16.0.0 || ^15.0.0"
},
"contributors": ["Atsushi Nagase <a@ngs.io>"],
"dependencies": {
"decorate-component-with-props": "^1.1.0",
"draft-js": "~0.10.5",
"draft-js-checkable-list-item": "^3.0.1",
"immutable": "~3.7.4",
"opencollective": "^1.0.3"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/draft-js-markdown-shortcuts-plugin"
}
}