diff --git a/package.json b/package.json
index 371b7cbf3d1ef6ac85d705d4d4bd4ceaefe53595..321a78598df7730b5e92406864042e2181cc642d 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
     "lint:css": "stylelint \"**/*.{css,scss}\"",
     "lint": "yarn lint:js && yarn lint:css",
     "postversion": "git push --tags",
-    "prepare": "husky",
+    "postinstall": "test -d node_modules/husky && husky || echo \"husky is not installed\"",
     "start": "node ./streaming/index.js",
     "test": "yarn lint && yarn run typecheck && yarn jest",
     "typecheck": "tsc --noEmit"