-
Notifications
You must be signed in to change notification settings - Fork 94
/
package.json
75 lines (75 loc) · 2.21 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
{
"name": "draft-convert",
"version": "2.1.13",
"description": "Extensibly serialize & deserialize Draft.js ContentState",
"main": "lib/index.js",
"module": "esm/index.js",
"repository": "HubSpot/draft-convert",
"scripts": {
"build": "npm run build:cjs && npm run build:esm && npm run build:umd",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir lib",
"build:esm": "cross-env BABEL_ENV=esm babel src --out-dir esm",
"build:umd": "wp",
"jest": "jest",
"jest:watch": "jest --watch",
"jest:debug": "node --debug-brk --inspect ./node_modules/.bin/jest -i",
"test-once": "npm run jest",
"test": "npm run jest",
"clean": "rimraf ./dist ./lib ./esm",
"build-and-test": "npm run clean && npm run build && npm run test-once",
"lint": "eslint src/ test/",
"prepare": "npm run build-and-test",
"prepublish": "npm run lint && npm run build-and-test",
"prettier:write": "prettier --write ./{src,test}/*.js ./{src,test}/**/*.js"
},
"files": [
"dist",
"lib",
"esm"
],
"keywords": [
"draft",
"draftjs",
"draft-convert",
"convert"
],
"author": "[email protected]",
"license": "Apache-2.0",
"peerDependencies": {
"draft-js": ">=0.7.0",
"react": "^15.0.2 || ^16.0.0-rc || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^15.0.2 || ^16.0.0-rc || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"immutable": "~3.7.4",
"invariant": "^2.2.1"
},
"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-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"cross-env": "^3.1.4",
"draft-js": "^0.8.1",
"eslint": "6.0.1",
"eslint-config-hubspot": "^7.0.0",
"eslint-config-prettier": "^2.2.0",
"eslint-plugin-react": "6.8.0",
"jasmine": "^2.2.0",
"jest": "^24.8.0",
"prettier": "^1.8.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "2.5.4",
"webpack": "^4.35.3",
"webpack-nano": "^0.6.2"
},
"jest": {
"testRegex": "/test/spec/.*\\.js$"
}
}