diff --git a/package.json b/package.json index 2642157..6759974 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "vite --host", "build": "pnpm run type-check:publish && vite build", + "build:zip": "pnpm run build && powershell -NoProfile -Command \"New-Item -ItemType Directory -Force -Path release | Out-Null; Compress-Archive -Path dist\\* -DestinationPath release\\gao-customer-h5.zip -Force\"", "preview": "vite preview", "lint": "eslint . --ext .ts,.vue", "type-check": "vue-tsc -p tsconfig.app.json --noEmit",