Add test config

This commit is contained in:
2025-11-17 21:59:15 -05:00
parent 8567e67d1a
commit 7d9d0bdf73
8 changed files with 1294 additions and 14 deletions

View File

@@ -7,6 +7,9 @@
"dev": "vite",
"build": "eslint . && tsc -b && vite build",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"check-git-clean": "git diff --quiet",
"deploy": "npm run check-git-clean && npm run build && npm pack && npm publish --access public",
"preview": "vite preview",
@@ -29,6 +32,9 @@
"@tanstack/react-router": "^1.136.1",
"@tanstack/react-router-devtools": "^1.136.1",
"@tanstack/router-plugin": "^1.136.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.10.1",
"@types/react": "^19.2.4",
"@types/react-dom": "^19.2.3",
@@ -38,11 +44,14 @@
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"jsdom": "^27.2.0",
"rollup-plugin-jsx-remove-attributes": "^3.1.2",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^7.2.2",
"vite-plugin-dts": "^4.5.4"
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.0.10"
},
"overrides": {
"@tailwindcss/vite": {