Add 'npm run demo' command

This commit is contained in:
Thomas Brouard 2017-07-02 13:30:59 +02:00
parent 10e5447e73
commit fb4f849488
2 changed files with 9 additions and 1 deletions

4
demo/package.json Normal file
View file

@ -0,0 +1,4 @@
{
"name": "electron-tabs-demo",
"main": "app.js"
}

View file

@ -8,6 +8,7 @@
"url": "https://github.com/brrd/electron-tabs" "url": "https://github.com/brrd/electron-tabs"
}, },
"scripts": { "scripts": {
"demo": "electron ./demo",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"keywords": [ "keywords": [
@ -17,5 +18,8 @@
"webview" "webview"
], ],
"author": "brrd", "author": "brrd",
"license": "MIT" "license": "MIT",
"devDependencies": {
"electron": "^1.6.11"
}
} }