2022-06-08 02:25:35 +02:00
|
|
|
# SH2 Commands
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# @scripthaus command webpack-watch
|
2022-07-09 10:37:19 +02:00
|
|
|
# @scripthaus cd :playbook
|
2022-06-08 02:25:35 +02:00
|
|
|
node_modules/.bin/webpack --watch --config webpack.dev.js
|
|
|
|
```
|
|
|
|
|
2022-07-09 10:37:19 +02:00
|
|
|
```bash
|
|
|
|
# @scripthaus command webpack-electron-watch
|
|
|
|
# @scripthaus cd :playbook
|
|
|
|
node_modules/.bin/webpack --watch --config webpack.electron.js
|
|
|
|
```
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# @scripthaus command electron-rebuild
|
|
|
|
# @scripthaus cd :playbook
|
|
|
|
node_modules/.bin/electron-rebuild
|
|
|
|
```
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# @scripthaus command electron
|
|
|
|
# @scripthaus cd :playbook
|
|
|
|
node_modules/.bin/electron dist/emain-dev.js
|
|
|
|
```
|
|
|
|
|
2022-06-08 02:25:35 +02:00
|
|
|
```bash
|
|
|
|
# @scripthaus command devserver
|
2022-07-09 10:37:19 +02:00
|
|
|
# @scripthaus cd :playbook
|
2022-06-08 02:25:35 +02:00
|
|
|
node_modules/.bin/webpack-dev-server --config webpack.dev.js --host 0.0.0.0
|
|
|
|
```
|
2022-07-05 07:37:45 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
# @scripthaus command typecheck
|
2022-07-09 10:37:19 +02:00
|
|
|
# @scripthaus cd :playbook
|
2022-07-05 07:37:45 +02:00
|
|
|
node_modules/.bin/tsc --jsx preserve --noEmit --esModuleInterop --target ES5 --experimentalDecorators --downlevelIteration src/sh2.ts
|
|
|
|
```
|