From 300244649464b795f50f64298a8edb093392d520 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Fri, 12 Jul 2019 11:00:11 -0400 Subject: [PATCH] Fix husky --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0bef1fcf..6f137738 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\"" } } }