-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 2.27 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
{
"name": "starter-restaurant-reservation-front-end",
"version": "1.0.0",
"description": "Starter code for restaurant reservation frontend",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/Thinkful-Ed/starter-restaurant-reservation",
"directory": "/front-end"
},
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.3",
"@testing-library/user-event": "^12.6.0",
"axios": "^0.21.1",
"dotenv": "^8.2.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.1",
"web-vitals": "^0.2.4"
},
"scripts": {
"build": "react-scripts build",
"eject": "react-scripts eject",
"start": "react-scripts start",
"test": "npx cross-env CI=true run-s test:unit test:e2e",
"test:1": "run-p -l -r test:start:* \"test:e2e:run -- us-01\"",
"test:2": "run-p -l -r test:start:* \"test:e2e:run -- us-02\"",
"test:3": "run-p -l -r test:start:* \"test:e2e:run -- us-03\"",
"test:4": "run-p -l -r test:start:* \"test:e2e:run -- us-04\"",
"test:5": "run-p -l -r test:start:* \"test:e2e:run -- us-05\"",
"test:6": "run-p -l -r test:start:* \"test:e2e:run -- us-06\"",
"test:7": "run-p -l -r test:start:* \"test:e2e:run -- us-07\"",
"test:8": "run-p -l -r test:start:* \"test:e2e:run -- us-08\"",
"test:e2e": "run-p -l -r test:start:* test:e2e:run",
"test:e2e:run": "wait-on http://localhost:5000/reservations?date=2020-01-01 && jest --detectOpenHandles --forceExit --config ./e2e/jest.config.js",
"test:start:backend": "npm run test:start --prefix ./../back-end",
"test:start:frontend": "npx cross-env BROWSER=none NODE_ENV=test react-scripts start",
"test:unit": "react-scripts test"
},
"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": {
"cross-fetch": "^3.0.6",
"jest-puppeteer": "^4.4.0",
"npm-run-all": "^4.1.5",
"puppeteer": "^5.5.0"
}
}