diff --git a/package.json b/package.json index 3e45288..142a7a1 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,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\"" } } }