Commit b3578789d421c2917e2f144cc3f72f86062ae753
Merge branch 'dev-install' of ssb://%s9mSFATE4RGyJx9wgH22lBrvD4CgUQW4yeguSWWjtqc=.sha256
(not sure about renaming build -> bundle but merged anyway)Dominic Tarr committed on 12/1/2016, 7:41:37 AM
Parent: b5cd4312fc923a9f37624d949b22096bcedc8687
Parent: dbe8a8578e6c6cdb350c1d250ad3d646610b339f
Files changed
README.md | changed |
package.json | changed |
README.md | |||
---|---|---|---|
@@ -33,11 +33,11 @@ | |||
33 | 33 … | ``` | |
34 | 34 … | git clone https://github.com/dominictarr/patchbay.git | |
35 | 35 … | cd patchbay | |
36 | 36 … | 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 | ||
40 | 40 … | ``` | |
41 | 41 … | ||
42 | 42 … | ## how to add a feature | |
43 | 43 … |
package.json | ||
---|---|---|
@@ -55,15 +55,23 @@ | ||
55 | 55 … | "text-node-searcher": "^1.1.0", |
56 | 56 … | "visualize-buffer": "0.0.0" |
57 | 57 … | }, |
58 | 58 … | "devDependencies": { |
59 | - "browselectrify": "^1.0.1" | |
59 … | + "browselectrify": "^1.0.1", | |
60 … | + "electro": "^2.0.3", | |
61 … | + "electron": "^1.4.10" | |
60 | 62 … | }, |
61 | 63 … | "scripts": { |
62 | - "build": "node scripts/style.js && mkdir -p build && browselectrify index.js > build/bundle.js", | |
63 | 64 … | "lite": "node scripts/style.js && mkdir -p build && browserify index.js | indexhtmlify > build/index.html", |
65 … | + "start": "electro index.js", | |
66 … | + "bundle": "node scripts/style.js && mkdir -p build && browselectrify index.js > build/bundle.js", | |
67 … | + "rebuild": "npm rebuild --runtime=electron --target=$(electron -v) --abi=$(electron --abi) --disturl=https://atom.io/download/atom-shell", | |
64 | 68 … | "graph": "node index.js | dot -Tsvg > graph.svg", |
65 | 69 … | "test": "set -e; for t in test/*.js; do node $t; done" |
66 | 70 … | }, |
67 | 71 … | "author": "Dominic Tarr <dominic.tarr@gmail.com> (http://dominictarr.com)", |
68 | 72 … | "license": "MIT" |
69 | 73 … | } |
74 … | + | |
75 … | + | |
76 … | + | |
77 … | + |
Built with git-ssb-web