desktop: rename build script to release

This commit is contained in:
Abdullah Atta
2023-06-10 11:42:40 +05:00
committed by Abdullah Atta
parent 2d78b05e8d
commit 3f79ae6403
3 changed files with 6 additions and 6 deletions

View File

@@ -35,7 +35,7 @@
"scripts": {
"start": "turbowatch scripts/dev.ts",
"staging": "zx scripts/build.mjs --run",
"build": "zx scripts/build.mjs",
"release": "zx scripts/build.mjs",
"bundle": "esbuild electron=./src/main.ts ./src/preload.ts --external:electron --external:fsevents --minify --bundle --outdir=./build --platform=node --tsconfig=tsconfig.json --define:MAC_APP_STORE=false --define:RELEASE=true",
"bundle:mas": "esbuild electron=./src/main.ts ./src/preload.ts --minify --external:electron --external:fsevents --bundle --outdir=./build --platform=node --tsconfig=tsconfig.json --define:MAC_APP_STORE=true --define:RELEASE=true",
"postinstall": "patch-package"