Skip to content

Commit

Permalink
feat: 引入 Vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
pany-ang committed Feb 12, 2025
1 parent d24a017 commit 40bd8fb
Show file tree
Hide file tree
Showing 6 changed files with 389 additions and 404 deletions.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"vue.volar",
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"antfu.unocss"
"antfu.unocss",
"vitest.explorer"
]
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"build": "vue-tsc && vite build",
"preview": "vite preview",
"lint": "eslint . --fix",
"prepare": "husky"
"prepare": "husky",
"test": "vitest"
},
"dependencies": {
"axios": "1.7.9",
Expand All @@ -32,16 +33,19 @@
"@unocss/preset-rem-to-px": "65.4.3",
"@vant/auto-import-resolver": "1.2.1",
"@vitejs/plugin-vue": "5.2.1",
"@vue/test-utils": "2.4.6",
"autoprefixer": "10.4.20",
"eslint": "9.20.0",
"eslint-plugin-format": "1.0.1",
"happy-dom": "17.1.0",
"husky": "9.1.7",
"lint-staged": "15.4.3",
"postcss-mobile-forever": "4.3.2",
"typescript": "5.7.3",
"unplugin-auto-import": "19.0.0",
"unplugin-vue-components": "28.0.0",
"vite": "6.1.0",
"vitest": "3.0.5",
"vue-tsc": "2.2.0"
},
"lint-staged": {
Expand Down
Loading

0 comments on commit 40bd8fb

Please sign in to comment.