git ssb

16+

Dominic / patchbay



Commit dbe8a8578e6c6cdb350c1d250ad3d646610b339f

add electro{,n} to devDeps, add rebuild script, rename bundle script

Michael Williams committed on 11/30/2016, 12:03:35 AM
Parent: e7fc925105dd9b5a36e85af534af3db99b13faed

Files changed

README.mdchanged
package.jsonchanged
README.mdView
@@ -33,11 +33,11 @@
3333 ```
3434 git clone https://github.com/dominictarr/patchbay.git
3535 cd patchbay
3636 npm install
37-npm install electro electron-prebuilt -g
38-npm run build
39-electro index.js
37 +npm run rebuild
38 +npm run bundle
39 +npm start
4040 ```
4141
4242 ## how to add a feature
4343
package.jsonView
@@ -55,12 +55,16 @@
5555 "text-node-searcher": "^1.1.0",
5656 "visualize-buffer": "0.0.0"
5757 },
5858 "devDependencies": {
59- "browselectrify": "^1.0.1"
59 + "browselectrify": "^1.0.1",
60 + "electro": "^2.0.3",
61 + "electron": "^1.4.10"
6062 },
6163 "scripts": {
62- "build": "node scripts/style.js && mkdir -p build && browselectrify index.js > build/bundle.js",
64 + "start": "electro index.js",
65 + "bundle": "node scripts/style.js && mkdir -p build && browselectrify index.js > build/bundle.js",
66 + "rebuild": "npm rebuild --runtime=electron --target=$(electron -v) --abi=$(electron --abi) --disturl=https://atom.io/download/atom-shell",
6367 "graph": "node index.js | dot -Tsvg > graph.svg",
6468 "test": "set -e; for t in test/*.js; do node $t; done"
6569 },
6670 "author": "Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)",

Built with git-ssb-web