From a27e2624b2fea3c0f5e09f39f82bf60377c90897 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Tue, 16 Jan 2018 09:33:27 +0100 Subject: [PATCH] chore(build): build code on prepublish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1074c8abf..b2931199d 100644 --- a/package.json +++ b/package.json @@ -134,7 +134,7 @@ ], "scripts": { "release": "standard-version -a -s", - "prepublish": "in-publish && npm run build:webui || not-in-publish", + "prepublish": "in-publish && npm run build:webui && npm run code:build || not-in-publish", "flow": "flow", "pretest": "npm run code:build", "test": "cross-env NODE_ENV=test BABEL_ENV=test jest --maxWorkers 2",