|
7 | 7 | "eslint": "node_modules/.bin/eslint .", |
8 | 8 | "build": "npm run clean && npm run build:js", |
9 | 9 | "build:demo": ".circleci/build-demo.sh", |
10 | | - "build:js": |
11 | | - "BABEL_DISABLE_CACHE=1 BABEL_ENV=production NODE_ENV=production node_modules/.bin/babel --out-dir='lib' --ignore='**/__test__/*' src", |
12 | | - "clean": |
13 | | - "node_modules/.bin/rimraf lib; node_modules/.bin/rimraf demo/public", |
| 10 | + "build:js": "BABEL_DISABLE_CACHE=1 BABEL_ENV=production NODE_ENV=production node_modules/.bin/babel --out-dir='lib' --ignore='**/__test__/*' src", |
| 11 | + "clean": "node_modules/.bin/rimraf lib; node_modules/.bin/rimraf demo/public", |
14 | 12 | "deploy:demo": ".circleci/deploy-demo.sh", |
15 | 13 | "prepublish": "npm run build", |
16 | 14 | "start": "npm run start:dev", |
17 | 15 | "start:dev": "node_modules/.bin/babel-node ./demo/server.js", |
18 | 16 | "test": "npm run test:coverage", |
19 | | - "test:coverage": |
20 | | - "node_modules/.bin/nyc --require babel-core/register npm run test:mocha", |
| 17 | + "test:coverage": "node_modules/.bin/nyc --require babel-core/register npm run test:mocha", |
21 | 18 | "test:mocha": "mocha --opts .mocha.opts $(find src -name '*-test.js')", |
22 | 19 | "test:watch": "npm test | npm run watch", |
23 | 20 | "watch": "npm-watch", |
24 | 21 | "postinstall": "opencollective postinstall" |
25 | 22 | }, |
26 | 23 | "watch": { |
27 | 24 | "test": { |
28 | | - "patterns": ["src/**/*.js"] |
| 25 | + "patterns": [ |
| 26 | + "src/**/*.js" |
| 27 | + ] |
29 | 28 | } |
30 | 29 | }, |
31 | 30 | "repository": { |
32 | 31 | "type": "git", |
33 | 32 | "url": "git+https://github.com/ngs/draft-js-markdown-shortcuts-plugin.git" |
34 | 33 | }, |
35 | | - "keywords": ["draftjs", "editor", "plugin", "markdown"], |
| 34 | + "keywords": [ |
| 35 | + "draftjs", |
| 36 | + "editor", |
| 37 | + "plugin", |
| 38 | + "markdown" |
| 39 | + ], |
36 | 40 | "author": "Atsushi Nagase", |
37 | 41 | "license": "MIT", |
38 | 42 | "bugs": { |
39 | 43 | "url": "https://github.com/ngs/draft-js-markdown-shortcuts-plugin/issues" |
40 | 44 | }, |
41 | | - "homepage": |
42 | | - "https://github.com/ngs/draft-js-markdown-shortcuts-plugin#readme", |
| 45 | + "homepage": "https://github.com/ngs/draft-js-markdown-shortcuts-plugin#readme", |
43 | 46 | "devDependencies": { |
44 | 47 | "autoprefixer": "^6.5.3", |
45 | 48 | "babel-cli": "^6.18.0", |
|
65 | 68 | "enzyme-adapter-react-16": "^1.1.1", |
66 | 69 | "eslint": "^3.11.1", |
67 | 70 | "eslint-config-airbnb": "^13.0.0", |
| 71 | + "eslint-config-prettier": "^6.11.0", |
68 | 72 | "eslint-plugin-import": "^2.2.0", |
69 | 73 | "eslint-plugin-jsx-a11y": "2.2.3", |
70 | 74 | "eslint-plugin-mocha": "^4.7.0", |
|
81 | 85 | "npm-watch": "^0.1.6", |
82 | 86 | "nyc": "^10.0.0", |
83 | 87 | "postcss-loader": "^1.1.1", |
| 88 | + "prettier": "2.0.5", |
84 | 89 | "prismjs": "^1.6.0", |
85 | 90 | "raf": "^3.4.0", |
86 | 91 | "react": "^16.2.0", |
|
99 | 104 | "webpack-hot-middleware": "^2.13.2" |
100 | 105 | }, |
101 | 106 | "peerDependencies": { |
102 | | - "draft-js-plugins-editor": |
103 | | - "^2.0.0 || ~2.0.0-rc.1 || 2.0.0-rc2 || 2.0.0-rc1 || 2.0.0-beta12", |
| 107 | + "draft-js-plugins-editor": "^2.0.0 || ~2.0.0-rc.1 || 2.0.0-rc2 || 2.0.0-rc1 || 2.0.0-beta12", |
104 | 108 | "react": "^16.0.0 || ^15.0.0", |
105 | 109 | "react-dom": "^16.0.0 || ^15.0.0" |
106 | 110 | }, |
107 | | - "contributors": ["Atsushi Nagase <a@ngs.io>"], |
| 111 | + "contributors": [ |
| 112 | + "Atsushi Nagase <a@ngs.io>" |
| 113 | + ], |
108 | 114 | "dependencies": { |
109 | 115 | "decorate-component-with-props": "^1.1.0", |
110 | 116 | "draft-js": "~0.10.5", |
|
0 commit comments