Add prepublish script

This commit is contained in:
Jia Hao 2016-01-18 23:36:05 +08:00
parent 0eb2e83dc2
commit 36b5597063
1 changed files with 2 additions and 1 deletions

View File

@ -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"