mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
update packaging to create a packaged electron app for frontend
This commit is contained in:
+15
-1
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user