Fix husky

This commit is contained in:
Danny McCormick 2019-07-12 11:00:11 -04:00 committed by GitHub
parent 83fc6e2269
commit 3002446494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,8 @@
"husky": {
"skipCI": true,
"hooks": {
"pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
"pre-commit": "npm run build && npm run format",
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
}
}
}