feat : ajout config vitest/make/pre-commit/commit-msg + un exemple de test vitest

This commit is contained in:
2026-02-23 11:29:16 +01:00
parent 65d9060e26
commit 82ecc9cfe2
8 changed files with 1301 additions and 1 deletions

View File

@@ -10,17 +10,22 @@
"build": "nuxt build .playground",
"generate": "nuxt generate .playground",
"preview": "nuxt preview .playground",
"lint": "eslint ."
"lint": "eslint .",
"test": "vitest run"
},
"peerDependencies": {
"nuxt": "^4.0.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"@vue/test-utils": "^2.4.6",
"@nuxt/eslint": "latest",
"@types/node": "^24.10.13",
"eslint": "^10.0.0",
"jsdom": "^27.0.1",
"nuxt": "^4.3.1",
"typescript": "^5.9.3",
"vitest": "^3.2.4",
"vue": "latest"
},
"dependencies": {