loreal-utilisation-dept/frontend/package.json
DJP 5efb5897db frontend: upgrade ESLint 8 → 9 + typescript-eslint 7 → 8 (flat config)
Clears the six npm deprecation warnings that fire on every deploy:
inflight, @humanwhocodes/config-array, rimraf, glob,
@humanwhocodes/object-schema, and eslint 8.57 itself — all transitive
deps of the eslint v8 chain.

- eslint 8.57 → 9.10
- @typescript-eslint/{parser,eslint-plugin} 7.x → typescript-eslint 8.7
  (single combined package in v8)
- eslint-plugin-react-hooks 4 → 5 (v5 supports flat config)
- eslint-plugin-react 7.34 → 7.36
- Replace .eslintrc.cjs with eslint.config.js (flat config)
- `npm run lint` switches from --ext flag (legacy) to flat-config lookup

typecheck silent, lint silent, build identical bundle (45.93 KB raw,
15.76 KB gzip on the main entry).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 21:46:09 -04:00

38 lines
1,012 B
JSON

{
"name": "utilisation-dept-frontend",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@headlessui/react": "^2.0.0",
"driver.js": "^1.3.0",
"lucide-react": "^0.400.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react-router-dom": "^6.22.0",
"recharts": "^2.12.0"
},
"devDependencies": {
"@eslint/js": "^9.10.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.0",
"autoprefixer": "^10.4.0",
"eslint": "^9.10.0",
"eslint-plugin-react": "^7.36.0",
"eslint-plugin-react-hooks": "^5.0.0",
"globals": "^15.9.0",
"postcss": "^8.4.0",
"tailwindcss": "^3.4.0",
"typescript": "^5.5.0",
"typescript-eslint": "^8.7.0",
"vite": "^5.3.0"
}
}