Fix pre-commit hook, update dependencies

This commit is contained in:
Maksim Eltyshev
2022-04-19 02:52:19 +05:00
parent e239d85901
commit 6f219e5368
6 changed files with 42 additions and 42 deletions

View File

@@ -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"