From 36b5597063dde5b070c8ad3341ab125713f35c42 Mon Sep 17 00:00:00 2001 From: Jia Hao Date: Mon, 18 Jan 2016 23:36:05 +0800 Subject: [PATCH] Add prepublish script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cff2891..bc92100 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "babel src -d lib", - "watch": "babel --watch src -d lib" + "watch": "babel --watch src -d lib", + "prepublish": "npm run build" }, "bin": { "nativefier": "lib/cli.js"