midnightLightV2
midnightLightV2 copied to clipboard
Add ghooks and prevent commit if tests fail
https://www.npmjs.com/package/ghooks
package.json:
...
"config": {
"ghooks": {
"pre-commit": "npm run test",
"commit-msg": "validate-commit-msg $1",
"pre-push": "npm run test"
}
}