-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.65 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.65 KB
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
{
"name": "draft-extend",
"version": "2.1.1",
"description": "Build extensible Draft.js editors with configurable plugins and integrated serialization.",
"main": "lib/index.js",
"module": "esm/index.js",
"repository": "HubSpot/draft-extend",
"scripts": {
"build": "npm run clean && npm run build:commonjs && npm run build:esm && npm run build:umd && npm run build:css",
"build:commonjs": "BABEL_ENV=commonjs babel src --out-dir lib",
"build:esm": "BABEL_ENV=esm babel src --out-dir esm",
"build:umd": "rollup -c",
"build:css": "cp ./src/style/*.css ./dist/",
"clean": "rm -rf ./dist && rm -rf ./lib && rm -rf ./esm",
"prepublish": "npm run build"
},
"files": [
"dist",
"lib",
"esm"
],
"keywords": [
"draft",
"extend",
"plugin",
"draft-js"
],
"author": "Ben Briggs",
"license": "Apache-2.0",
"peerDependencies": {
"draft-js": ">=0.7.0",
"react": "^16.3.0",
"react-dom": "^16.3.0"
},
"dependencies": {
"@babel/runtime": "^7.7.2",
"immutable": "^3.8.1",
"invariant": "^2.2.1",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.4",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.0.0",
"@babel/standalone": "^7.7.3",
"draft-convert": "^2.1.4",
"draft-js": "^0.10.5",
"es6-shim": "^0.35.0",
"react": "^16.3.0",
"react-dom": "^16.3.0",
"rollup": "^1.26.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.2"
}
}