-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 1.69 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
{
"name": "advanced-react-patterns",
"version": "1.0.0",
"description": "The updated version of my advanced react component patterns course",
"keywords": [],
"homepage": "http://advanced-react-patterns.netlify.com/",
"main": "src/index.js",
"dependencies": {
"@reach/router": "^1.2.1",
"hoist-non-react-statics": "^3.3.0",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-testing-library": "^6.0.3",
"redux": "^4.0.0"
},
"devDependencies": {
"cross-spawn": "^6.0.5",
"eslint-plugin-react-hooks": "^1.6.0",
"husky": "^1.3.1",
"inquirer": "^6.0.0",
"is-ci": "^2.0.0",
"jest-dom": "^3.1.3",
"node": "^8.11.1",
"npm-run-all": "^4.1.3",
"prettier": "^1.16.4",
"react-scripts": "^2.1.8",
"replace-in-file": "^3.4.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"test:coverage": "npm run test -- --coverage",
"setup": "node ./scripts/verify && node ./scripts/install && npm run validate && node ./scripts/autofill-feedback-email.js",
"validate": "npm-run-all --parallel build test:coverage"
},
"jest": {
"collectCoverageFrom": [
"src/exercises-final/**/*.js"
]
},
"eslintConfig": {
"extends": "react-app",
"plugins": [
"react-hooks"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
]
}
}