From 281a1c1a93c053bc88e7d714df12238b358e656f Mon Sep 17 00:00:00 2001 From: Alexey Date: Sat, 23 Dec 2017 13:36:21 +0300 Subject: [PATCH] Run build before publishing --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8dd7bf6..b1d3a56 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ ], "scripts": { "test": "echo \"Error: no test specified\" && exit 0", - "build": "NODE_ENV=production babel src --out-dir=es" + "build": "NODE_ENV=production babel src --out-dir=es", + "prepublish": "npm run build" }, "repository": { "type": "git",