Skip to content

Commit

Permalink
chore: update husky hook implementation
Browse files Browse the repository at this point in the history
precommit script is deprecated
  • Loading branch information
BearAlliance committed Dec 6, 2019
1 parent 40adee4 commit 7743b85
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"precommit": "lint-staged",
"commit": "git-cz",
"commitmsg": "validate-commit-msg",
"build": "tsc",
Expand All @@ -31,6 +30,11 @@
"prettier-project": "prettier --write 'src/**/*.{ts,tsx}'",
"lint": "tslint \"src/**/*.ts\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"license": "MIT",
"engines": {
"node": ">=4.0.0"
Expand Down

0 comments on commit 7743b85

Please sign in to comment.