Fix husky

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

View File

@ -44,7 +44,8 @@
"husky": { "husky": {
"skipCI": true, "skipCI": true,
"hooks": { "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\""
} }
} }
} }