fix(config): move build toolchain to devDependencies

vite, @vitejs/plugin-react-swc, @tailwindcss/vite are build-time only;
they were inflating the production dependency audit surface.
Build + tests verified green after the move.
This commit is contained in:
Bastien Chanot committed 2026-07-12 03:34:00 +02:00
1 parent 3f91a45660
commit 187dfb5371
2 files changed
+12 -12

No files matched your search

+3 -3
View File
@@ -20,25 +20,24 @@
"scaffold:species": "node scripts/scaffold-species.mjs"
},
"dependencies": {
"@tailwindcss/vite": "^4.3.0",
"@vitejs/plugin-react-swc": "^3.7.2",
"canvg": "^4.0.2",
"motion": "^11.11.17",
"pdf-lib": "^1.17.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^7.1.1",
"vite": "^7.3.6",
"zod": "^3.24.1",
"zustand": "^5.0.2"
},
"devDependencies": {
"@tailwindcss/vite": "^4.3.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20.19.41",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react-swc": "^3.7.2",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
@@ -47,6 +46,7 @@
"prettier": "^3.4.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.0",
"vite": "^7.3.6",
"vitest": "^3.2.7"
}
}