-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
67 lines (67 loc) · 1.97 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
{
"name": "draft-js-code",
"version": "0.3.0",
"description": "Collection of utilities to make code blocks edition easy in DraftJS",
"main": "./lib/index.js",
"scripts": {
"test": "jest --coverage",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"precommit": "lint-staged",
"prettier": "prettier",
"build": "browserify -t [ babelify --presets [ es2015 react ] ] ./demo/main.js > ./demo/dist.js; cp ./node_modules/prismjs/themes/prism.css ./demo/prism.css; cp ./node_modules/draft-js/dist/Draft.css ./demo/draft.css",
"deploy": "npm run build; gh-pages -d ./demo",
"watch": "watch 'npm run build' ./lib",
"serve": "http-server -p 9090 demo/",
"start": "npm run build; parallelshell 'npm run serve -s' 'npm run watch -s'",
"postpublish": "npm run deploy"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SamyPesse/draft-js-code.git"
},
"keywords": [
"draft-js"
],
"lint-staged": {
"*.js": [
"npm run prettier -- --write",
"git add"
]
},
"author": "Samy Pesse <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/SamyPesse/draft-js-code/issues"
},
"homepage": "https://github.com/SamyPesse/draft-js-code#readme",
"dependencies": {
"detect-indent": "^4.0.0",
"detect-newline": "^2.1.0",
"ends-with": "^0.2.0",
"immutable": "3.x"
},
"devDependencies": {
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babelify": "^7.2.0",
"browserify": "^13.0.0",
"coveralls": "^2.13.1",
"draft-js": "0.x",
"draft-js-prism": "^1.0.2",
"eslint": "^2.11.1",
"gh-pages": "^0.11.0",
"http-server": "^0.9.0",
"husky": "^0.14.3",
"jest": "^21.1.0",
"lint-staged": "^4.2.2",
"parallelshell": "2.0.0",
"prettier": "^1.7.0",
"prismjs": "^1.8.1",
"react": "^15.1.0",
"react-dom": "^15.1.0",
"watch": "^0.18.0"
},
"peerDependencies": {
"draft-js": "0.x"
}
}