From 4e476f3153188ab22de9259a2afdca662d0dd0c9 Mon Sep 17 00:00:00 2001 From: sutralia Date: Sun, 16 Jun 2024 23:11:28 +0700 Subject: [PATCH] chore: add command build to publish --- apps/server-web/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/server-web/package.json b/apps/server-web/package.json index f0cb19f46..9a0c0265a 100644 --- a/apps/server-web/package.json +++ b/apps/server-web/package.json @@ -25,9 +25,9 @@ "build:renderer": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.prod.ts", "postinstall": "ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && npm run build:dll", "lint": "cross-env NODE_ENV=development eslint . --ext .js,.jsx,.ts,.tsx", - "pack:mac": "electron-builder build --mac --publish never && npm run build:dll", - "pack:win": "electron-builder build --win --publish never && npm run build:dll", - "pack:linux": "electron-builder build --linux --publish never && npm run build:dll", + "pack:mac": "electron-builder build --mac --publish always && npm run build:dll", + "pack:win": "electron-builder build --win --publish always && npm run build:dll", + "pack:linux": "electron-builder build --linux --publish always && npm run build:dll", "package": "electron-builder build --publish never && npm run build:dll", "rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir release/app", "start": "ts-node ./.erb/scripts/check-port-in-use.js && npm run start:renderer",