chore(web): 新增前端测试依赖与构建配置

This commit is contained in:
2026-06-12 14:23:52 +08:00
parent 2c135d5ebe
commit c88dcfff17
2 changed files with 1671 additions and 9 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -6,6 +6,8 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"clean": "rm -rf dist node_modules"
},
@@ -19,6 +21,9 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.5.0",
"vite": "^5.0.0"
"vite": "^5.0.0",
"vitest": "^3.1.0",
"@vue/test-utils": "^2.4.0",
"jsdom": "^26.0.0"
}
}