forked from BartoszWrobel591/simple-react-app
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
50 lines (50 loc) · 1.43 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
{
"name": "simple-react-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"node-sass": "^5.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.3",
"start-server-and-test": "^1.12.5",
"stylelint": "^13.11.0",
"stylelint-scss": "^3.19.0",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build && cp run.sh build/run.sh",
"test": "react-scripts test",
"cy:run": "cypress run",
"test-e2e": "start-server-and-test start http://localhost:3000 cy:run",
"test-add": "npx start-server-and-test start http://localhost:3000 \"npx cypress run -s 'cypress/integration/button/add_spec.js'\"",
"test-subtract": "npx start-server-and-test start http://localhost:3000 \"npx cypress run -s 'cypress/integration/button/subtract_spec.js'\"",
"eject": "react-scripts eject",
"lint": "eslint --ignore-path .gitignore ."
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"cypress": "^7.5.0"
}
}