From c097fe767c2a54182a2a9345a0c671c8621dea61 Mon Sep 17 00:00:00 2001 From: Jia Hao Date: Thu, 21 Jan 2016 12:26:05 +0800 Subject: [PATCH] Add helper scripts to debug easily --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8af2927..a4797e5 100644 --- a/package.json +++ b/package.json @@ -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" } }