Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix husky
  • Loading branch information
Danny McCormick authored and GitHub committed Jul 12, 2019
1 parent fc36eb1 commit 4411253
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -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\""
}
}
}

0 comments on commit 4411253

Please sign in to comment.