From 2406c97476f93c64e9eda7c1006496f3aace9356 Mon Sep 17 00:00:00 2001 From: Amio Date: Fri, 4 Jan 2019 22:23:29 +0800 Subject: [PATCH] add prePublishOnly script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 57d14c3..91a6ac8 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "license": "ISC", "main": "index.js", "scripts": { - "build": "node build.js" + "build": "node build.js", + "prePublishOnly": "npm run build" } }