Browse Source

rebuild and reset

pull/14/head
Kyle Spearrin 7 years ago
parent
commit
f83e97abfc
  1. 16
      README.md
  2. 8
      package-lock.json
  3. 4
      package.json

16
README.md

@ -29,9 +29,25 @@ The application is written using Electron with Angular and installs on Windows, @@ -29,9 +29,25 @@ The application is written using Electron with Angular and installs on Windows,
```bash
npm install
npm reset # Only necessary if you have previously run the CLI app
npm rebuild
npm run electron
```
**Run the CLI**
```bash
npm install
npm reset # Only necessary if you have previously run the desktop app
npm run build:cli:watch
```
You can then run commands from the `./build-cli` folder:
```bash
node ./build-cli/bwdc.js --help
```
# Contribute
Code contributions are welcome! Please commit any pull requests against the `master` branch. Learn more about how to contribute by reading the [`CONTRIBUTING.md`](CONTRIBUTING.md) file.

8
package-lock.json generated

@ -5763,14 +5763,12 @@ @@ -5763,14 +5763,12 @@
"balanced-match": {
"version": "1.0.0",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@ -5790,8 +5788,7 @@ @@ -5790,8 +5788,7 @@
"concat-map": {
"version": "0.0.1",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"console-control-strings": {
"version": "1.1.0",
@ -5939,7 +5936,6 @@ @@ -5939,7 +5936,6 @@
"version": "3.0.4",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"brace-expansion": "^1.1.7"
}

4
package.json

@ -21,7 +21,9 @@ @@ -21,7 +21,9 @@
"sub:update": "git submodule update --remote",
"sub:pull": "git submodule foreach git pull origin master",
"sub:commit": "npm run sub:pull && git commit -am \"update submodule\"",
"postinstall": "./node_modules/.bin/electron-rebuild && npm run sub:init",
"postinstall": "npm run sub:init",
"rebuild": "./node_modules/.bin/electron-rebuild",
"reset": "rimraf ./node_modules/keytar/* && npm install",
"lint": "tslint src/**/*.ts || true",
"lint:fix": "tslint src/**/*.ts --fix",
"build": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\"",

Loading…
Cancel
Save