-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.json
41 lines (41 loc) · 1.06 KB
/
template.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
{
"package": {
"dependencies": {
"@testing-library/jest-dom": "^5.9.0",
"@testing-library/react": "^10.2.1",
"@testing-library/user-event": "^12.0.2",
"web-vitals": "^0.2.2",
"@tymate/margaret": "^0.3.18",
"axios": "^0.19.2",
"date-fns": "^2.14.0",
"humps": "^2.0.1",
"lodash": "^4.17.15",
"react-icons": "^3.10.0",
"react-modal": "^3.11.2",
"react-router-dom": "^5.2.0",
"react-use": "^15.3.2",
"sanitize.css": "^11.0.1",
"styled-components": "^5.1.1"
},
"devDependencies": {
"husky": ">=4",
"lint-staged": ">=10",
"prettier": "^2.1.2"
},
"scripts": {
"prettier": "prettier --write 'src/**/*.js'",
"prettier:check": "prettier -l 'src/**/*.js'"
},
"eslintConfig": {
"extends": ["react-app"]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,css,md,json}": ["prettier --write", "eslint --fix --rule 'no-console: 2' --rule 'no-debugger: 2'"]
}
}
}