diff --git a/package.json b/package.json
index 08bf66a..044be9e 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
     "lint:js:fix": "eslint . --fix",
     "lint:md": "prettier --check \"**/*.{html,md,yaml,yml}\"",
     "lint:md:fix": "prettier --write \"**/*.{html,md,yaml,yml}\"",
-    "prepublish": "rollup -c && tsc dist/*.js --declaration --allowJs --emitDeclarationOnly",
+    "prepack": "rollup -c && tsc dist/*.js --declaration --allowJs --emitDeclarationOnly",
     "release": "dotenv release-it --",
     "test": "ava",
     "test:watch": "ava --watch"