forked from thibaudcolas/draftail-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.25 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": "draftail-playground",
"version": "0.1.0",
"private": true,
"engines": {
"node": "^12.2.0",
"npm": "^6.4.1"
},
"proxy": "http://localhost:5000",
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"not IE 11"
],
"development": [
">0.2%",
"not dead",
"not op_mini all",
"not IE 11"
]
},
"devDependencies": {
"enzyme": "3.10.0",
"enzyme-adapter-react-16": "1.14.0",
"enzyme-to-json": "3.4.0",
"prettier": "1.18.2",
"react-scripts": "3.1.1",
"react-test-renderer": "16.9.0",
"source-map-explorer": "2.0.1",
"typescript": "3.6.2"
},
"dependencies": {
"@types/draft-js": "^0.10.29",
"@types/jest": "24.0.18",
"@types/node": "11.11.7",
"@types/prismjs": "^1.16.0",
"@types/react": "16.9.2",
"@types/react-dom": "16.9.0",
"@types/react-modal": "^3.8.1",
"@types/react-resizable": "^1.7.0",
"@types/react-tabs": "^2.3.1",
"@types/styled-components": "4.1.18",
"draft-js": "^0.10.5",
"draftail": "^1.3.0",
"prismjs": "^1.6.0",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-json-view": "^1.19.1",
"react-modal": "^3.8.1",
"react-resizable": "^1.7.5",
"react-simpler-select": "^3.0.0",
"react-tabs": "^3.0.0",
"reading-time": "^1.1.0",
"styled-components": "4.3.2"
},
"scripts": {
"heroku-postbuild": "npm run build -s",
"start": "npm run server -s & npm run watch -s",
"server": "FLASK_APP=app.py FLASK_DEBUG=1 flask run",
"watch": "react-scripts start",
"build": "CI=true react-scripts build && source-map-explorer --html build/static/js/main.* > build/source-map-explorer.html",
"lint": "prettier --check '**/?(.)*.{md,css,scss,js,jsx,ts,tsx,json,yaml,yml,html}' && black --check *.py",
"format": "prettier --write '**/?(.)*.{md,css,scss,js,jsx,ts,tsx,json,yaml,yml,html}' && black *.py",
"report:build": "open public/source-map-explorer.html",
"test": "CI=true react-scripts test",
"test:watch": "react-scripts test --watch",
"test:coverage": "CI=true react-scripts test --coverage",
"test:ci": "npm run lint -s && npm run test:coverage npm run build -s"
}
}