deps: Install husky
This commit is contained in:
parent
a82c3c7f43
commit
286eb0a87e
2 changed files with 209 additions and 0 deletions
|
|
@ -40,10 +40,18 @@
|
|||
"@types/node": "^12.7.5",
|
||||
"@typescript-eslint/parser": "^2.3.0",
|
||||
"eslint": "^6.4.0",
|
||||
"husky": "^3.0.5",
|
||||
"jest": "^24.9.0",
|
||||
"jest-circus": "^24.9.0",
|
||||
"prettier": "1.18.2",
|
||||
"ts-jest": "^24.1.0",
|
||||
"typescript": "^3.6.3"
|
||||
},
|
||||
"husky": {
|
||||
"skipCI": true,
|
||||
"hooks": {
|
||||
"pre-commit": "npm run tsc && npm run format",
|
||||
"post-commit": "npm run build && git add node_modules/* && git commit -m \"deps: Husky commit correct node modules\""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue