fix: 更新

This commit is contained in:
ZhuRui
2026-08-08 14:22:17 +08:00
parent f8eaa554b3
commit b513d701d8
+2
View File
@@ -6,6 +6,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"serve": "vite", "serve": "vite",
"serve:prod": "vite --mode production",
"build:dev": "vue-tsc --noEmit && vite build --mode development", "build:dev": "vue-tsc --noEmit && vite build --mode development",
"build:test": "vue-tsc --noEmit && vite build --mode test", "build:test": "vue-tsc --noEmit && vite build --mode test",
"build:prod": "vue-tsc --noEmit && vite build --mode production", "build:prod": "vue-tsc --noEmit && vite build --mode production",
@@ -13,6 +14,7 @@
"test:run": "vitest run", "test:run": "vitest run",
"test:coverage": "vitest run --coverage", "test:coverage": "vitest run --coverage",
"preview": "vite preview", "preview": "vite preview",
"preview:prod": "pnpm build:prod && vite preview",
"type-check": "vue-tsc --noEmit", "type-check": "vue-tsc --noEmit",
"lint": "eslint src --ext .js,.ts,.tsx", "lint": "eslint src --ext .js,.ts,.tsx",
"lint:fix": "eslint src --ext .js,.ts,.tsx --fix", "lint:fix": "eslint src --ext .js,.ts,.tsx --fix",