chore: add vitest and playwright test dependencies

This commit is contained in:
2026-05-27 23:28:35 +08:00
parent 6e74256d66
commit f35f73dca0
2 changed files with 2793 additions and 2 deletions
+11 -2
View File
@@ -9,7 +9,11 @@
"build": "vite build --mode production",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force"
"type-check": "vue-tsc --build --force",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui"
},
"dependencies": {
"async-validator": "^4.2.5",
@@ -23,13 +27,18 @@
"vue-router": "^4.4.5"
},
"devDependencies": {
"@playwright/test": "^1.60.0",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^28.0.3",
"@types/node": "^20.17.0",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/test-utils": "^2.4.10",
"@vue/tsconfig": "^0.5.1",
"jsdom": "^24.1.3",
"npm-run-all2": "^7.0.1",
"typescript": "~5.6.0",
"vite": "^5.4.10",
"vitest": "^2.1.9",
"vue-tsc": "^2.1.6"
}
}
}