-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (72 loc) · 3.2 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
76
77
{
"name": "to-do-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"bootstrap": "^5.2.3",
"react": "^18.2.0",
"react-bootstrap": "^2.10.2",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"react-switch": "^7.0.0",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"start-wait": "npm start & wait-on http://localhost:3000",
"build": "react-scripts build",
"eject": "react-scripts eject",
"cy:open": "cypress open",
"cy:open:mobile": "cypress open --config viewportWidth=375,viewportHeight=667",
"cy:run:mobile": "npm run cy:run:mobile:chrome && npm run cy:run:mobile:edge && npm run cy:run:mobile:electron",
"cy:open:tablet": "cypress open --config viewportWidth=768,viewportHeight=1024",
"cy:run:tablet": "npm run cy:run:tablet:chrome && npm run cy:run:tablet:edge && npm run cy:run:tablet:electron",
"cy:open:desktop": "cypress open --config viewportWidth=1920,viewportHeight=1080",
"cy:run:desktop": "npm run cy:run:desktop:chrome && npm run cy:run:desktop:edge && npm run cy:run:desktop:electron",
"cy:run:mobile:chrome": "cypress run --browser chrome --config viewportWidth=375,viewportHeight=667",
"cy:run:mobile:edge": "cypress run --browser edge --config viewportWidth=375,viewportHeight=667",
"cy:run:mobile:electron": "cypress run --browser electron --config viewportWidth=375,viewportHeight=667",
"cy:run:tablet:chrome": "cypress run --browser chrome --config viewportWidth=768,viewportHeight=1024",
"cy:run:tablet:edge": "cypress run --browser edge --config viewportWidth=768,viewportHeight=1024",
"cy:run:tablet:electron": "cypress run --browser electron --config viewportWidth=768,viewportHeight=1024",
"cy:run:desktop:chrome": "cypress run --browser chrome --config viewportWidth=1920,viewportHeight=1080",
"cy:run:desktop:edge": "cypress run --browser edge --config viewportWidth=1920,viewportHeight=1080",
"cy:run:desktop:electron": "cypress run --browser electron --config viewportWidth=1920,viewportHeight=1080",
"e2e:commands": "npm run cy:run:mobile && npm run cy:run:tablet && npm run cy:run:desktop",
"test:e2e": "docker run --rm -it -v \"%cd%:/e2e\" -w /e2e --entrypoint=\"\" cypress/included:13.13.1 sh -c \"npm run start-wait && npx cypress install && npm run e2e:commands \"",
"cypress:run": "cypress run",
"prepare": "husky"
},
"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/react18": "^2.0.1",
"cypress": "^13.13.1",
"husky": "^9.0.11",
"wait-on": "^7.2.0"
}
}