diff --git a/package.json b/package.json
index 9bbe4ffccc1477c32bb22f63152afe2914f5944b..f412be7c3a1626acda5cf80693d2bfe78dcc186e 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
   "main": "index.js",
   "license": "MIT",
   "scripts": {
-    "prepublish": "tsc"
+    "install": "tsc"
   },
   "dependencies": {
     "express": "^4.16.4",