-
Notifications
You must be signed in to change notification settings - Fork 82
/
package.json
40 lines (40 loc) · 1.02 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
{
"scripts": {
"test:jest": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test": "jest",
"posttest": "npm run format && npm run lint",
"format": "prettier --write \"**/*.{js,css,md}\"",
"lint": "eslint . --cache --fix -f table",
"json-server": "json-server --watch json-server/api.json"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.2.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jest": "^22.5.1",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.13.0",
"husky": "^2.2.0",
"jest": "^24.8.0",
"json-server": "^0.15.0",
"lint-staged": "^8.1.6",
"prettier": "^1.17.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,md}": [
"prettier --write",
"git add"
]
}
}