From ae79d74ad591e2f8a5e61ed68be2595b4bfd37af Mon Sep 17 00:00:00 2001 From: xzyfer Date: Mon, 3 Dec 2018 22:16:18 +1100 Subject: [PATCH] Restore prepublishOnly npm script Removed in c66ad81f due to poor npm support at the time. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index bbc08a3..ae67bb9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "test": "jest", "clean": "rm lib/*", - "build": "npm run clean; babel src/ --out-dir lib" + "build": "npm run clean; babel src/ --out-dir lib", + "prepublishOnly": "npm run build" }, "files": [ "index.js",