chore: change for updated husky

This commit is contained in:
Gareth Jones 2019-02-28 08:00:41 +11:00
parent 0410f786a6
commit a406ed80aa

View File

@ -29,8 +29,6 @@
},
"scripts": {
"clean": "find test -type f ! -name '*.json' ! -name '*.js' ! -name '.eslintrc' -delete && rm *.log",
"prepush": "npm test && npm run typings",
"commitmsg": "validate-commit-msg",
"posttest": "npm run clean",
"pretest": "eslint 'lib/**/*.js' 'test/**/*.js'",
"test": "tap 'test/tap/**/*.js' --cov",
@ -95,5 +93,11 @@
"require": [
"./test/sandbox-coverage"
]
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-push": "npm test && npm run typings"
}
}
}