-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
34 lines (34 loc) · 853 Bytes
/
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
{
"name": "craco-workbox",
"version": "0.2.0",
"description": "A simple craco plugin to override the workbox config in CRA2",
"main": "lib/index.js",
"repository": "https://github.com/kevinsperrine/craco-workbox",
"author": "Kevin S. Perrine",
"license": "MIT",
"private": false,
"scripts": {
"prettier": "node_modules/.bin/prettier --write --single-quote lib/*",
"lint": "node_modules/.bin/eslint -c .eslintrc.json --fix lib/*"
},
"devDependencies": {
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"lint-staged": "^11.2.3",
"prettier": "^2.4.1"
},
"lint-staged": {
"lib/**/*.js": [
"yarn prettier",
"yarn lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}