Skip to content

Commit 4dcd9ec

Browse files
committed
change clean script to npm run clean-install
1 parent 48b1127 commit 4dcd9ec

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ All packaging actions are handled by [electron-builder](https://github.com/elect
136136

137137
**Note:** There are various icons and bitmap files in `resources` directory. Those are used in installers and intended to be replaced by your own graphics.
138138

139+
**Note:** After OpenBCI NPM package update (ex. [@openbci/cyton](https://www.npmjs.com/package/@openbci/cyton)), use `npm run clean-install` and then `npm run release`.
140+
139141
# License
140142

141143
Released under the MIT license.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"scripts": {
2727
"postinstall": "node ./node_modules/electron-builder/out/install-app-deps.js",
2828
"build": "gulp build",
29-
"clean": "cd app && git clean -fx && rm -rf node_modules",
29+
"clean-install": "cd app && git clean -fx && rm -rf node_modules && npm install",
3030
"prerelease": "gulp build --env=production",
3131
"release": "build --publish never",
3232
"release-win32": "build --ia32 --publish never",

0 commit comments

Comments
 (0)