Update debug script to ensure that `src` is built before packaging the app

This commit is contained in:
Jia Hao 2016-01-19 21:05:41 +08:00
parent eb0a1b47bc
commit cfd212bd94
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
"build": "babel src -d lib",
"watch": "babel --watch src -d lib",
"prepublish": "npm run build",
"debug": "node lib/cli.js http://www.medium.com ~/Desktop --overwrite"
"debug": "npm run build && node lib/cli.js http://www.medium.com ~/Desktop --overwrite"
},
"bin": {
"nativefier": "lib/cli.js"