From 21872d4dd6e4c7ee1f37525cc7bd9c9f379f9ba3 Mon Sep 17 00:00:00 2001
From: Martin Aeschlimann <martinae@microsoft.com>
Date: Wed, 13 Nov 2019 17:16:07 +0100
Subject: [PATCH] use preversion

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

diff --git a/package.json b/package.json
index 12e7731..20e754e 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
     "clean": "git submodule foreach --recursive git clean -xfd && rimraf lib",
     "test": "node test/index.js",
     "benchmark": "node benchmark.js",
-    "prepublishOnly": "npm run setup-emsdk && npm run clean && npm run build && npm run test",
+    "preversion": "npm run setup-emsdk && npm run clean && npm run build && npm run test",
     "setup-emsdk": "./scripts/setup-emsdk.sh 1.39.2"
   },
   "repository": {