update packaging to create a packaged electron app for frontend

This commit is contained in:
sawka
2022-11-01 00:07:25 -07:00
parent 7b11999d29
commit 56a91a9601
7 changed files with 76 additions and 6 deletions
+15 -1
View File
@@ -6,12 +6,25 @@
node_modules/.bin/webpack --watch --config webpack.dev.js
```
```bash
# @scripthaus command webpack-build
# @scripthaus cd :playbook
node_modules/.bin/webpack --config webpack.dev.js
```
```bash
# @scripthaus command webpack-electron-watch
# @scripthaus cd :playbook
node_modules/.bin/webpack --watch --config webpack.electron.js
```
```bash
# @scripthaus command webpack-electron-build
# @scripthaus cd :playbook
node_modules/.bin/webpack --config webpack.electron.js
```
```bash
# @scripthaus command electron-rebuild
# @scripthaus cd :playbook
@@ -37,8 +50,9 @@ node_modules/.bin/tsc --jsx preserve --noEmit --esModuleInterop --target ES5 --e
```
```bash
# @scripthaus command build-js
# @scripthaus command build-package
# @scripthaus cd :playbook
node_modules/.bin/webpack --config webpack.dev.js
node_modules/.bin/webpack --config webpack.electron.js
node_modules/.bin/electron-forge make
```