Skip to content

Commit

Permalink
chore(package): add pre commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Apr 8, 2019
1 parent 87feb20 commit bf5037c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "node bin/updateTestHash && git add package.json"
}
},
"scripts": {
"postinstall": "lerna bootstrap",
"pretest": "lerna run build",
"test": "lerna run test",
"test": "lerna run test --since d9db6c67d3de51b65ae0825d2c58d65eb26b3c26",
"publish": "lerna run build && lerna publish"
}
}

0 comments on commit bf5037c

Please sign in to comment.