Remove the tscw

This commit is contained in:
Manav Rathi 2024-03-26 20:21:36 +05:30
parent 9e987f62f6
commit c055cd9b4a
No known key found for this signature in database
2 changed files with 2 additions and 8 deletions

View file

@ -8,12 +8,7 @@ Launch the app in development mode:
- Transpiles the files in `src/` and starts the main process.
- Runs a development server for the renderer (with hot module reload).
- Starts tsc in watch mode to recompile the JS files used by the main process.
Note that the main process is not restarted on changes automatically, you'll
still need to restart the app manually  running tsc in watch mode is still
useful to notice any errors.
- Runs a development server for the renderer, with hot module reload.
### yarn build

View file

@ -11,9 +11,8 @@
"build-main:quick": "tsc && electron-builder --dir --config.compression=store --config.mac.identity=null",
"build-renderer": "cd ../web && yarn install && yarn build:photos && cd ../desktop && shx rm -f out && shx ln -sf ../web/apps/photos/out out",
"build:quick": "yarn build-renderer && yarn build-main:quick",
"dev": "concurrently --names 'main,rndr,tscw' \"yarn dev-main\" \"yarn dev-renderer\" \"yarn dev-main-watch\"",
"dev": "concurrently --names 'main,rndr' \"yarn dev-main\" \"yarn dev-renderer\"",
"dev-main": "tsc && electron app/main.js",
"dev-main-watch": "tsc --watch --preserveWatchOutput",
"dev-renderer": "cd ../web && yarn install && yarn dev:photos",
"postinstall": "electron-builder install-app-deps",
"lint": "yarn prettier --check . && eslint --ext .ts src",