-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.83 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
{
"name": "json-string-viewer",
"version": "0.0.1",
"private": true,
"dependencies": {
"@types/jest": "24.0.11",
"@types/jsoneditor": "^5.28.1",
"@types/node": "11.13.8",
"@types/react": "16.8.14",
"@types/react-dom": "16.8.4",
"is-ci-cli": "^1.1.1",
"jsoneditor": "^5.32.5",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "3.0.0",
"typescript": "3.4.5"
},
"scripts": {
"start": "is-ci \"start:prod\" \"start:dev\"",
"start:dev": "export PORT=8001 && react-scripts start",
"start:prod": "serve --no-clipboard --single --listen 8001 dist",
"build": "react-scripts build && mv build dist",
"test": "is-ci \"test:coverage\" \"test:watch\"",
"test:watch": "react-scripts test",
"test:coverage": "npm run test:watch -- --watchAll=false --coverage",
"cy:run": "cypress run",
"cy:open": "cypress open",
"pretest:e2e:run": "npm run build --silent",
"test:e2e:run": "start-server-and-test start:prod http://localhost:8001 cy:run",
"test:e2e:dev": "start-server-and-test start:dev http://localhost:8001 cy:open",
"validate": "npm run test:coverage && npm run test:e2e:run",
"setup": "yarn && npm run validate"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/cypress": "^1.1.3",
"cypress": "^3.4.0",
"cypress-file-upload": "^3.3.3",
"cypress-testing-library": "^3.0.1",
"dom-testing-library": "^4.1.0",
"eslint-plugin-cypress": "^2.2.1",
"jest-dom": "^3.2.2",
"react-testing-library": "^7.0.0",
"serve": "^11.0.1",
"start-server-and-test": "^1.9.1"
}
}