Setup Vitest

This commit is contained in:
Nettika 2026-01-28 23:22:55 -08:00
parent 3b76d3efa7
commit 2105d05749
No known key found for this signature in database
6 changed files with 616 additions and 5 deletions

View file

@ -7,6 +7,8 @@
"dev": "vite",
"build": "vue-tsc -b && vite build",
"preview": "vite preview",
"test": "vitest",
"test:run": "vitest run",
"lint": "eslint . --fix",
"format": "prettier --write \"src/**/*.{ts,vue,css,html}\""
},
@ -18,14 +20,17 @@
"@eslint/js": "^9.39.2",
"@types/node": "^24.10.1",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.8.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-vue": "^10.7.0",
"happy-dom": "^20.4.0",
"prettier": "^3.8.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.54.0",
"vite": "^7.2.4",
"vitest": "^4.0.18",
"vue-tsc": "^3.1.4"
}
}