Browse Source

docs(advanced): remove redundant install steps

Remove the `install-grpc` installation step as it is redundant.

See #420
renovate/lint-staged-8.x
Tom Kirkpatrick 7 years ago
parent
commit
09fe241a7e
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 3
      ADVANCED.md
  2. 3
      app/package.json
  3. 3
      package.json

3
ADVANCED.md

@ -21,12 +21,11 @@ git clone https://github.com/LN-Zap/zap-desktop.git
### Installing Dependencies ### Installing Dependencies
Install all the dependencies with yarn + install grpc: Install all the dependencies with yarn:
```bash ```bash
cd zap-desktop cd zap-desktop
yarn yarn
npm run install-grpc
``` ```
## Lightning Network Daemon (lnd) ## Lightning Network Daemon (lnd)

3
app/package.json

@ -10,8 +10,7 @@
"url": "https://github.com/LN-Zap/zap-desktop" "url": "https://github.com/LN-Zap/zap-desktop"
}, },
"scripts": { "scripts": {
"postinstall": "npm rebuild --runtime=electron --target=1.8.4 --disturl=https://atom.io/download/atom-shell --build-from-source", "postinstall": "npm rebuild --runtime=electron --target=1.8.4 --disturl=https://atom.io/download/atom-shell --build-from-source"
"install-grpc": "cd node_modules/grpc && git submodule update --init && npm run electron-build -- --target=1.8.4"
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

3
package.json

@ -29,8 +29,7 @@
"test-ci": "npm run package && npm run test && npm run test-e2e", "test-ci": "npm run package && npm run test && npm run test-e2e",
"test-all": "npm run lint && npm run lint-styles && npm run flow && npm run build && npm run test && npm run test-e2e", "test-all": "npm run lint && npm run lint-styles && npm run flow && npm run build && npm run test && npm run test-e2e",
"test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js e2e", "test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js e2e",
"test-watch": "npm test -- --watch", "test-watch": "npm test -- --watch"
"install-grpc": "cd app && npm run install-grpc"
}, },
"browserslist": "electron 1.8", "browserslist": "electron 1.8",
"engines": { "engines": {

Loading…
Cancel
Save