-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
75 lines (75 loc) · 1.97 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
{
"name": "dashboard",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/history": "^4.7.6",
"@types/jest": "^25.2.3",
"@types/node": "^14.0.5",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/react-modal": "^3.10.5",
"axios": "^0.21.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-modal": "^3.11.2",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1",
"react-toastify": "^6.0.5",
"secure-ls": "^1.2.6",
"typescript": "^3.9.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "tslint -c tslint.json 'src/**/*.{ts,js,tsx}'",
"lint:fix": "tslint --fix -c tslint.json 'src/**/*.{ts,js,tsx}'",
"prettify": "prettier --single-quote --write \"src/**/*.{ts,js,json,tsx}\"",
"coverage": "jest --coverage",
"codecov": "./node_modules/.bin/codecov -f coverage/coverage.json"
},
"eslintConfig": {
"extends": "react-app"
},
"lint-staged": {
"*.{ts,js, tsx}": [
"prettier --single-quote --write",
"tslint --fix -c tslint.json 'src/**/*.{ts,js}'",
"git add"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/react-test-renderer": "^16.9.2",
"codecov": "^3.7.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"react-test-renderer": "^16.13.1",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^5.0.0",
"tslint-react-a11y": "^1.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}