Fix pre-commit hook, update dependencies
This commit is contained in:
@@ -14,8 +14,9 @@
|
||||
"client:lint": "npm run lint --prefix client",
|
||||
"client:start": "npm start --prefix client",
|
||||
"client:test": "npm test --prefix client",
|
||||
"lint": "npm run server:lint && npm run client:lint",
|
||||
"postinstall": "npm i --prefix server && npm i --prefix client",
|
||||
"prepare": "husky install",
|
||||
"lint": "npm run server:lint && npm run client:lint",
|
||||
"server:console": "npm run console --prefix server",
|
||||
"server:db:init": "npm run db:init --prefix server",
|
||||
"server:db:migrate": "npm run db:migrate --prefix server",
|
||||
@@ -27,11 +28,6 @@
|
||||
"start": "concurrently -n server,client \"npm run server:start\" \"npm run client:start\"",
|
||||
"test": "npm run server:test && npm run client:test"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"client/**/*.{js,jsx}": [
|
||||
"npm run client:lint"
|
||||
|
||||
Reference in New Issue
Block a user