don't hook on postinstall, current dev cycle uses (abuses) npm i to build

so no point making it take longer than it has to for the devs only testing
webapp

build:electron - hook npm run install:electron
install:electron - run npm i for the electron deps
electron - start the app locally for testing

add to README

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-04-23 22:50:58 +01:00
parent 3fb54029d7
commit 9e2324fb69
2 changed files with 4 additions and 2 deletions

View file

@ -135,6 +135,7 @@ To run as a desktop app:
```
npm install electron
npm run install:electron
node_modules/.bin/electron .
```