diff --git a/package.json b/package.json
index d3d2e542..0dd0839f 100644
--- a/package.json
+++ b/package.json
@@ -41,7 +41,7 @@
   },
   "husky": {
     "hooks": {
-      "pre-commit": "npm install && npm run build && npm test && npm run format && npm prune --production"
+      "pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
     }
   }
 }