From 3dbf18e3a3b09909dfc71648c4934d13e20fa459 Mon Sep 17 00:00:00 2001
From: "Shahar Or (mightyiam)" <mightyiampresence@gmail.com>
Date: Thu, 14 Nov 2019 19:44:34 +0700
Subject: [PATCH] fix: npm script prepublish -> prepublishOnly

Fixes #476.
---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index cd8ab91..c43c454 100644
--- a/package.json
+++ b/package.json
@@ -36,7 +36,7 @@
     "compile": "npm run compile-es && npm run compile-commonjs",
     "compile-es": "tsc --outDir es --module es6 --moduleResolution node",
     "compile-commonjs": "tsc --outDir ./",
-    "prepublish": "npm run compile",
+    "prepublishOnly": "npm run compile",
     "release-major": "xyz --repo git@github.com:paldepind/snabbdom.git --increment major",
     "release-minor": "xyz --repo git@github.com:paldepind/snabbdom.git --increment minor",
     "release-patch": "xyz --repo git@github.com:paldepind/snabbdom.git --increment patch"