diff --git a/package.json b/package.json index 1e67abd..b4cb827 100644 --- a/package.json +++ b/package.json @@ -11,14 +11,14 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build", + "build": "vue-tsc --noEmit && vite build", "preview": "vite preview", "electron:servewin": "concurrently -k \"pnpm dev\" \"pnpm electron\"", "electron:servemac": "concurrently -k \"pnpm dev\" \"pnpm electron:mac\"", "electron:servelinux": "concurrently -k \"pnpm dev\" \"pnpm electron:linux\"", - "electron:buildwin": "vue-tsc --noEmit && vite build && electron-builder", - "electron:buildwinarm": "vue-tsc --noEmit && vite build && electron-builder --win --arm64", - "electron:buildmac": "vue-tsc --noEmit && vite build && electron-builder --config.npmRebuild=false -c.extraMetadata.main=electron/mac/mainMac.js", + "electron:buildwin": "vite build && electron-builder", + "electron:buildwinarm": "vite build && electron-builder --win --arm64", + "electron:buildmac": "vite build && electron-builder --config.npmRebuild=false -c.extraMetadata.main=electron/mac/mainMac.js", "electron": "wait-on tcp:3000 && cross-env NODE_ENV=development electron .", "electron:mac": "wait-on tcp:3000 && cross-env NODE_ENV=development electron electron/mac/mainMac.js", "electron:linux": "wait-on tcp:3000 && cross-env NODE_ENV=development electron electron/mac/mainMac.js --no-sandbox",