Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit cad1cfd

Browse files
committed
package.json formatting god dammit
1 parent 2342579 commit cad1cfd

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

package.json

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
{
22
"name": "draft-js-markdown-plugin",
33
"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",
65
"main": "lib/index.js",
76
"scripts": {
87
"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",
1511
"dev": "node_modules/.bin/babel-node ./demo/server.js",
1612
"test": "jest",
1713
"precommit": "lint-staged"
@@ -20,15 +16,23 @@
2016
"type": "git",
2117
"url": "git+https://github.com/withspectrum/draft-js-markdown-plugin.git"
2218
},
23-
"keywords": ["draftjs", "editor", "plugin", "markdown"],
19+
"keywords": [
20+
"draftjs",
21+
"editor",
22+
"plugin",
23+
"markdown"
24+
],
2425
"author": "Max Stoiber <[email protected]>",
2526
"license": "MIT",
2627
"bugs": {
2728
"url": "https://github.com/withspectrum/draft-js-markdown-plugin/issues"
2829
},
2930
"homepage": "https://github.com/withspectrum/draft-js-markdown-plugin#readme",
3031
"lint-staged": {
31-
"*.{js,css}": ["prettier --write", "git add"]
32+
"*.{js,css}": [
33+
"prettier --write",
34+
"git add"
35+
]
3236
},
3337
"devDependencies": {
3438
"autoprefixer": "^6.5.3",
@@ -47,8 +51,7 @@
4751
"css-loader": "^0.26.0",
4852
"css-modules-require-hook": "^4.0.5",
4953
"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",
5255
"enzyme": "^2.6.0",
5356
"eslint": "^3.11.1",
5457
"eslint-config-airbnb": "^13.0.0",
@@ -90,12 +93,13 @@
9093
"react-test-renderer": "^16.2.0"
9194
},
9295
"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",
9597
"react": "^15.0.0",
9698
"react-dom": "^15.0.0"
9799
},
98-
"contributors": ["Atsushi Nagase <[email protected]>"],
100+
"contributors": [
101+
"Atsushi Nagase <[email protected]>"
102+
],
99103
"dependencies": {
100104
"decorate-component-with-props": "^1.0.2",
101105
"draft-js": "~0.10.1",

0 commit comments

Comments
 (0)