-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.44 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
{
"name": "modulo12",
"version": "0.1.0",
"private": true,
"dependencies": {
"axios": "^0.19.0",
"immer": "^3.1.3",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.1.0",
"react-scripts": "3.0.1",
"redux": "^4.0.4",
"redux-saga": "^1.0.5"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"coverage": "react-app-rewired test --coverage --watchAll=false",
"eject": "react-scripts eject"
},
"jest": {
"testMatch": [
"**/__tests__/**/*.test.js"
],
"setupFilesAfterEnv": [
"@testing-library/react/cleanup-after-each",
"@testing-library/jest-dom/extend-expect",
"jest-localstorage-mock"
],
"moduleNameMapper": {
"^~/(.*)": "<rootDir>/src/$1"
},
"collectCoverageFrom": [
"!src/index.js",
"!src/services/api.js"
],
"coverageDirectory": "__tests__/coverage"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^4.0.0",
"@testing-library/react": "^8.0.6",
"@types/jest": "^24.0.15",
"axios-mock-adapter": "^1.17.0",
"jest-localstorage-mock": "^2.4.0",
"react-app-rewired": "^2.1.3"
}
}