From 3a3c518091e4194d2dd15c10956519371f096d5c Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Fri, 12 Jul 2019 10:59:56 -0400 Subject: [PATCH] Fix husky --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6f8f2c78..dc78e324 100644 --- a/package.json +++ b/package.json @@ -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\"" } } }