feat: integrate vitest
This commit is contained in:
1 parent
1f405bbc0d
commit
c0201aed28
12 files changed
+183
-14
No files matched your search
+6
-2
@@ -1,12 +1,14 @@
|
||||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production vite-ssg build",
|
||||
"build": "vite-ssg build",
|
||||
"dev": "vite --port 3333 --open",
|
||||
"lint": "eslint \"**/*.{vue,ts,js}\"",
|
||||
"test": "cypress open",
|
||||
"preview": "vite preview",
|
||||
"preview-https": "serve dist",
|
||||
"test": "vitest",
|
||||
"test:e2e": "cypress open",
|
||||
"test:unit": "vitest",
|
||||
"typecheck": "vue-tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -29,6 +31,7 @@
|
||||
"@vitejs/plugin-vue": "^2.0.1",
|
||||
"@vue/compiler-sfc": "^3.2.26",
|
||||
"@vue/server-renderer": "^3.2.26",
|
||||
"@vue/test-utils": "^2.0.0-rc.18",
|
||||
"critters": "^0.0.15",
|
||||
"cross-env": "^7.0.3",
|
||||
"cypress": "^9.1.1",
|
||||
@@ -50,6 +53,7 @@
|
||||
"vite-plugin-vue-layouts": "^0.5.0",
|
||||
"vite-plugin-windicss": "^1.6.1",
|
||||
"vite-ssg": "^0.17.2",
|
||||
"vitest": "^0.0.113",
|
||||
"vue-tsc": "^0.30.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user