-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.26 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
78
79
80
81
82
83
84
85
86
{
"name": "chuck-jokes",
"version": "0.1.0",
"private": true,
"description": "A cool Chuck Norris Jokes reader using ChuckNorris.io",
"homepage": "https://rogerramosme.github.io/chuck-jokes/",
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"axios": "^0.21.1",
"babel-eslint": "^10.1.0",
"history": "^4.10.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.1",
"redux": "^4.0.5",
"redux-saga": "^1.1.3",
"styled-components": "^5.0.1"
},
"jest": {
"collectCoverageFrom": [
"src/components/**/*.js",
"src/pages/**/*.js",
"src/store/reducers/**/*.js",
"src/sagas/modules/**/*.js",
"!src/**/index.js",
"!src/routes.js",
"!src/config/*.js",
"!node_modules/**",
"!**/public/**",
"!**/*.style.js"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --testPathIgnorePatterns=src/__tests__/",
"test:ci": "npm run test -- --coverage --runInBand --no-cache --watchAll=false",
"lint": "eslint -c .eslintrc src/**/*.js"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run test:ci"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@redux-saga/testing-utils": "^1.1.3",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"husky": "^4.2.3",
"prettier": "^2.0.2",
"redux-mock-store": "^1.5.4"
}
}