-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.92 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 2.92 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "qr-order",
"version": "0.1.0",
"private": true,
"homepage": "https://qr-order.netlify.app",
"dependencies": {
"@material-ui/core": "^4.11.2",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.57",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"axios": "^0.20.0",
"connected-react-router": "^6.8.0",
"cypress-localstorage-commands": "^1.2.4",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint-plugin-cypress": "^2.11.2",
"formik": "^2.2.5",
"istanbul-combine": "^0.3.0",
"istanbul-lib-coverage": "^3.0.0",
"nyc": "^15.1.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-hook-form": "^6.14.1",
"react-redux": "^7.2.2",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.3",
"react-scroll": "^1.8.1",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.3.0"
},
"scripts": {
"start": "react-scripts -r @cypress/instrument-cra start",
"test": "react-scripts test --env=jsdom",
"test:integration": "cypress run",
"coverage": "npm run coverage:clean && npm run coverage:integration && npm run coverage:unit && npm run coverage:merge",
"coverage:clean": "rm -rf .nyc_output && rm -rf coverage",
"coverage:integration": "start-server-and-test 3000 test:integration",
"coverage:merge": "istanbul-combine -d coverage/merged -p summary -r lcov -r json coverage/*/coverage-final.json",
"coverage:unit": "react-scripts test --watchAll=false --coverage --coverageDirectory=coverage/unit",
"build": "react-scripts build",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"plugin:cypress/recommended"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"coverageReporters": [
"json",
"lcov"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!__mocks__/**",
"!src/*.js",
"!src/containers/*.js",
"!src/utils/auth/*.js"
]
},
"nyc": {
"report-dir": "coverage/integration",
"reporter": [
"json",
"lcov"
],
"all": true,
"include": [
"src/**/*.js"
],
"exclude": [
"**/*.test.js",
"**/test.js",
"**/*.stories.js",
"**/stories.js",
"src/__mocks__/*.js",
"src/utils/cart/*.js",
"src/utils/extra/*.js"
]
},
"devDependencies": {
"@cypress/code-coverage": "^3.8.5",
"@cypress/instrument-cra": "^1.4.0",
"@testing-library/cypress": "^7.0.2",
"cypress": "^5.6.0",
"mutationobserver-shim": "^0.3.7",
"start-server-and-test": "^1.11.6"
}
}