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"