From 70a3ec683f1ddc65487366cd579f942b661a0ed3 Mon Sep 17 00:00:00 2001 From: Mohammad Fares Date: Sun, 4 Nov 2018 18:17:21 +0200 Subject: [PATCH] Add prepublish npm script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 288ef0c..511b82d 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ }, "scripts": { "dev": "NODE_ENV=development webpack --watch", - "build": "NODE_ENV=production webpack --optimize-minimize --progress --colors" + "build": "NODE_ENV=production webpack --optimize-minimize --progress --colors", + "prepublish": "npm run build" }, "keywords": [ "terminal",