-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
41 lines (41 loc) · 1.22 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
{
"name": "ci-cd-practical",
"version": "0.6.0",
"private": true,
"dependencies": {
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"react-scripts": "2.1.8"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"e2e": "cross-env JEST_JUNIT_OUTPUT=\"./test-results/acceptance/results.xml\" cross-env BASE_URL=\"'https://rupert-ci-cd-staging.surge.sh'\" jest -c e2e/jestConfig.json --runInBand",
"performance": "lighthouse https://rupert-ci-cd-staging.surge.sh --chrome-flags=\"--headless\" --output json --output html --output-path=./ci-cd-practical && node ./scripts/verify-performance-results.js ci-cd-practical.report.json"
},
"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": {
"cross-env": "5.2.0",
"jest-junit": "6.4.0",
"lighthouse": "5.1.0",
"puppeteer": "1.17.0"
}
}