fix: 更新
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user