diff --git a/package.json b/package.json index 538665d..0e4b766 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "type": "module", "scripts": { "serve": "vite", + "serve:prod": "vite --mode production", "build:dev": "vue-tsc --noEmit && vite build --mode development", "build:test": "vue-tsc --noEmit && vite build --mode test", "build:prod": "vue-tsc --noEmit && vite build --mode production", @@ -13,6 +14,7 @@ "test:run": "vitest run", "test:coverage": "vitest run --coverage", "preview": "vite preview", + "preview:prod": "pnpm build:prod && vite preview", "type-check": "vue-tsc --noEmit", "lint": "eslint src --ext .js,.ts,.tsx", "lint:fix": "eslint src --ext .js,.ts,.tsx --fix",