|
1 | 1 | { |
2 | 2 | "name": "draft-js-markdown-plugin", |
3 | 3 | "version": "1.1.1", |
4 | | - "description": |
5 | | - "A DraftJS plugin for supporting Markdown syntax shortcuts, fork of draft-js-markdown-shortcuts-plugin", |
| 4 | + "description": "A DraftJS plugin for supporting Markdown syntax shortcuts, fork of draft-js-markdown-shortcuts-plugin", |
6 | 5 | "main": "lib/index.js", |
7 | 6 | "scripts": { |
8 | 7 | "build": "npm run clean && npm run build:js", |
9 | | - "build:demo": |
10 | | - "NODE_ENV=production webpack --config demo/webpack.config.prod.js && rm -rf demo/public/css && cp -R demo/publicTemplate/* demo/public/", |
11 | | - "build:js": |
12 | | - "BABEL_DISABLE_CACHE=1 BABEL_ENV=production NODE_ENV=production node_modules/.bin/babel --out-dir='lib' --ignore='**/__test__/*' src", |
13 | | - "clean": |
14 | | - "node_modules/.bin/rimraf lib; node_modules/.bin/rimraf demo/public", |
| 8 | + "build:demo": "NODE_ENV=production webpack --config demo/webpack.config.prod.js && rm -rf demo/public/css && cp -R demo/publicTemplate/* demo/public/", |
| 9 | + "build:js": "BABEL_DISABLE_CACHE=1 BABEL_ENV=production NODE_ENV=production node_modules/.bin/babel --out-dir='lib' --ignore='**/__test__/*' src", |
| 10 | + "clean": "node_modules/.bin/rimraf lib; node_modules/.bin/rimraf demo/public", |
15 | 11 | "dev": "node_modules/.bin/babel-node ./demo/server.js", |
16 | 12 | "test": "jest", |
17 | 13 | "precommit": "lint-staged" |
|
20 | 16 | "type": "git", |
21 | 17 | "url": "git+https://github.com/withspectrum/draft-js-markdown-plugin.git" |
22 | 18 | }, |
23 | | - "keywords": ["draftjs", "editor", "plugin", "markdown"], |
| 19 | + "keywords": [ |
| 20 | + "draftjs", |
| 21 | + "editor", |
| 22 | + "plugin", |
| 23 | + "markdown" |
| 24 | + ], |
24 | 25 | "author": "Max Stoiber <contact@mxstbr.com>", |
25 | 26 | "license": "MIT", |
26 | 27 | "bugs": { |
27 | 28 | "url": "https://github.com/withspectrum/draft-js-markdown-plugin/issues" |
28 | 29 | }, |
29 | 30 | "homepage": "https://github.com/withspectrum/draft-js-markdown-plugin#readme", |
30 | 31 | "lint-staged": { |
31 | | - "*.{js,css}": ["prettier --write", "git add"] |
| 32 | + "*.{js,css}": [ |
| 33 | + "prettier --write", |
| 34 | + "git add" |
| 35 | + ] |
32 | 36 | }, |
33 | 37 | "devDependencies": { |
34 | 38 | "autoprefixer": "^6.5.3", |
|
47 | 51 | "css-loader": "^0.26.0", |
48 | 52 | "css-modules-require-hook": "^4.0.5", |
49 | 53 | "draft-js-plugins-editor": "2.0.0-rc2", |
50 | | - "draft-js-prism": |
51 | | - "ngs/draft-js-prism#6edb31c3805dd1de3fb897cc27fced6bac1bafbb", |
| 54 | + "draft-js-prism": "ngs/draft-js-prism#6edb31c3805dd1de3fb897cc27fced6bac1bafbb", |
52 | 55 | "enzyme": "^2.6.0", |
53 | 56 | "eslint": "^3.11.1", |
54 | 57 | "eslint-config-airbnb": "^13.0.0", |
|
90 | 93 | "react-test-renderer": "^16.2.0" |
91 | 94 | }, |
92 | 95 | "peerDependencies": { |
93 | | - "draft-js-plugins-editor": |
94 | | - "~2.0.0-rc.1 || 2.0.0-rc2 || 2.0.0-rc1 || 2.0.0-beta12", |
| 96 | + "draft-js-plugins-editor": "~2.0.0-rc.1 || 2.0.0-rc2 || 2.0.0-rc1 || 2.0.0-beta12", |
95 | 97 | "react": "^15.0.0", |
96 | 98 | "react-dom": "^15.0.0" |
97 | 99 | }, |
98 | | - "contributors": ["Atsushi Nagase <a@ngs.io>"], |
| 100 | + "contributors": [ |
| 101 | + "Atsushi Nagase <a@ngs.io>" |
| 102 | + ], |
99 | 103 | "dependencies": { |
100 | 104 | "decorate-component-with-props": "^1.0.2", |
101 | 105 | "draft-js": "~0.10.1", |
|
0 commit comments