Commit 5c1e2452128afa68d0a271956f96d9e98f47e17b
Add `npm run rebuild` as postinstall script
Christian Bundy committed on 8/21/2018, 10:18:17 PMParent: 54379731e6002dd982eab86febf0b7d4872a5ff8
Files changed
README.md | changed |
package.json | changed |
README.md | ||
---|---|---|
@@ -75,9 +75,8 @@ | ||
75 | 75 … | ```sh |
76 | 76 … | git clone https://github.com/ssbc/patchbay.git |
77 | 77 … | cd patchbay |
78 | 78 … | npm install |
79 | -npm run rebuild | |
80 | 79 … | ``` |
81 | 80 … | |
82 | 81 … | Patchbay doesn't give you a way to join pubs yet, so this is good if you've already done that with another client (like Patchwork). |
83 | 82 … | |
@@ -113,9 +112,8 @@ | ||
113 | 112 … | ```sh |
114 | 113 … | git clone https://github.com/ssbc/patchbay.git |
115 | 114 … | cd patchbay |
116 | 115 … | npm install |
117 | -npm run rebuild | |
118 | 116 … | ``` |
119 | 117 … | |
120 | 118 … | ## Running the desktop app |
121 | 119 … |
package.json | |||
---|---|---|---|
@@ -7,9 +7,10 @@ | |||
7 | 7 … | "lint": "standard --fix", | |
8 | 8 … | "rebuild": "cross-script npm rebuild --runtime=electron \"--target=$(electron -v)\" \"--abi=$(electron --abi)\" --disturl=https://atom.io/download/atom-shell", | |
9 | 9 … | "start": "electron index.js -- --title patchbay", | |
10 | 10 … | "start-frameless": "FRAME=false npm start", | |
11 | - "dev": "echo 'run your own sbot!' && electro main.js -- --title patchbay --icon ./assets/icon.png" | ||
11 … | + "dev": "echo 'run your own sbot!' && electro main.js -- --title patchbay --icon ./assets/icon.png", | ||
12 … | + "postinstall": "npm run rebuild" | ||
12 | 13 … | }, | |
13 | 14 … | "browserify": { | |
14 | 15 … | "transform": [ | |
15 | 16 … | "bulkify", |
Built with git-ssb-web