Add helper scripts to debug easily

This commit is contained in:
Jia Hao 2016-01-21 12:26:05 +08:00
parent 5bceb97775
commit c097fe767c
1 changed files with 4 additions and 2 deletions

View File

@ -15,7 +15,8 @@
"build": "babel src -d lib",
"watch": "babel --watch src -d lib",
"prepublish": "npm run build",
"debug": "npm run build && node lib/cli.js http://www.medium.com ~/Desktop --overwrite"
"package-placeholder": "npm run build && node lib/cli.js http://www.medium.com ~/Desktop --overwrite",
"start-placeholder": "electron app"
},
"bin": {
"nativefier": "lib/cli.js"
@ -48,6 +49,7 @@
},
"devDependencies": {
"babel-cli": "^6.4.0",
"babel-preset-es2015": "^6.3.13"
"babel-preset-es2015": "^6.3.13",
"electron-prebuilt": "^0.36.4"
}
}