forked from HubSpot/draft-convert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.6 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
{
"name": "@mic/draft-convert",
"version": "1.5.0",
"description": "Extensibly serialize & deserialize Draft.js ContentState",
"main": "lib/index.js",
"repository": "micnews/draft-convert",
"scripts": {
"build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min",
"watch": "run-p watch:commonjs watch:umd watch:umd:min",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:umd": "webpack --config webpack.config.development.js ./src/index.js ./dist/draft-convert.js",
"build:umd:min": "webpack --config webpack.config.production.js ./src/index.js ./dist/draft-convert.min.js",
"watch:commonjs": "cross-env BABEL_ENV=commonjs babel src --watch --out-dir lib",
"watch:umd": "webpack --watch --config webpack.config.development.js ./src/index.js ./dist/draft-convert.js",
"watch:umd:min": "webpack --watch --config webpack.config.production.js ./src/index.js ./dist/draft-convert.min.js",
"jest": "jest",
"jest-debug": "node --debug-brk --inspect ./node_modules/.bin/jest -i",
"test-once": "npm run jest",
"test": "npm run jest",
"test:karma": "karma start test/karma.config.js",
"test-once:karma": "karma start test/karma.config.js --single-run",
"clean": "rimraf ./dist && rimraf ./lib",
"build-and-test": "npm run clean && npm run build && npm run test-once",
"lint": "eslint src/ test/",
"prepublish": "npm run lint && npm run build-and-test"
},
"files": [
"dist",
"lib"
],
"keywords": [
"draft",
"draftjs",
"draft-convert",
"convert"
],
"author": "[email protected]",
"license": "Apache-2.0",
"peerDependencies": {
"draft-js": ">=0.7.0",
"react": "^15.0.2",
"react-dom": "^15.0.2"
},
"dependencies": {
"ent": "^2.2.0",
"immutable": "~3.7.4",
"invariant": "^2.2.1"
},
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.7.7",
"babel-eslint": "^7.1.1",
"babel-jest": "^18.0.0",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"cross-env": "^3.1.4",
"draft-js": "^0.10.1",
"eslint": "3.12.0",
"eslint-config-hubspot": "^7.0.0",
"eslint-plugin-react": "6.8.0",
"jasmine": "^2.2.0",
"jest": "^18.1.0",
"json-loader": "^0.5.4",
"karma": "^0.13.22",
"karma-chrome-launcher": "^0.2.3",
"karma-jasmine": "^0.3.8",
"karma-webpack": "^1.7.0",
"npm-run-all": "^4.0.2",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"rimraf": "2.5.4",
"webpack": "^1.13.0"
},
"jest": {
"testRegex": "/test/spec/.*\\.js$"
}
}