-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.62 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
87
88
89
90
91
92
93
94
{
"name": "ev-spa",
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^4.7.1",
"@material-ui/icons": "^4.5.1",
"@types/node": "^12.12.8",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.4",
"@types/styled-components": "^4.4.2",
"@types/yup": "^0.26.26",
"cross-env": "^6.0.3",
"formik": "^2.0.6",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router-dom": "^5.1.2",
"react-scripts": "^3.3.0",
"styled-components": "^5.0.0",
"typescript": "^3.7.2",
"yup": "^0.27.0",
"zxcvbn": "^4.4.2"
},
"scripts": {
"start": "cross-env PORT=7777 react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject",
"test:unit": "jest --watch",
"lint": "eslint --ext .ts --ext .tsx .",
"lint:fix": "npm run lint -- --fix",
"test": "npm run lint && npm run test:unit -- --coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.(ts|tsx)": [
"npm run lint:fix",
"git add"
]
},
"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"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"src/*.{js,jsx,ts,tsx}",
"!src/serviceWorker.ts",
"!<rootDir>/node_modules/",
"!<rootDir>/path/to/dir/"
],
"coverageReporters": [
"json",
"lcov",
"text",
"clover"
]
},
"devDependencies": {
"@types/enzyme": "^3.10.4",
"@types/jest": "^24.9.1",
"@types/react-router": "^5.1.3",
"@types/react-router-dom": "^5.1.3",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"@typescript-eslint/parser": "^2.7.0",
"clover": "0.0.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint-config-prettier": "^6.6.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.9",
"jest": "^25.1.0",
"jest-enzyme": "^7.1.2",
"lint-staged": "^9.4.3",
"prettier": "^1.19.1",
"react-test-renderer": "^16.12.0",
"ts-jest": "^25.2.0"
}
}