From fb4f849488e17371f0904fe3806637bdf912554a Mon Sep 17 00:00:00 2001 From: Thomas Brouard Date: Sun, 2 Jul 2017 13:30:59 +0200 Subject: [PATCH] Add 'npm run demo' command --- demo/package.json | 4 ++++ package.json | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 demo/package.json diff --git a/demo/package.json b/demo/package.json new file mode 100644 index 0000000..54501d0 --- /dev/null +++ b/demo/package.json @@ -0,0 +1,4 @@ +{ + "name": "electron-tabs-demo", + "main": "app.js" +} diff --git a/package.json b/package.json index dae96ca..89b4e17 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "url": "https://github.com/brrd/electron-tabs" }, "scripts": { + "demo": "electron ./demo", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ @@ -17,5 +18,8 @@ "webview" ], "author": "brrd", - "license": "MIT" + "license": "MIT", + "devDependencies": { + "electron": "^1.6.11" + } }