-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
34 lines (34 loc) · 909 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
{
"devDependencies": {
"concurrently": "^5.2.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"execa": "^4.0.2",
"grandstack": "^0.0.7",
"dotenv": "^8.2.0",
"husky": ">=4",
"lint-staged": ">=10",
"prettier": "^2.0.5",
"prettier-eslint-cli": "^5.0.0"
},
"scripts": {
"start": "node scripts/start-dev.js",
"build": "node scripts/build.js",
"format": "find . -name \"*.js\" | grep -v node_modules | grep -v build | xargs prettier --write",
"format:log": "find . -name \"*.js\" | grep -v node_modules | grep -v build | xargs prettier",
"inferschema:write": "node scripts/inferSchema.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix"
]
}
}