Adds two-job CI (backend + frontend) running ruff, pytest (unit only - skipping heavy ML deps), docker compose config validation for both dev and prod overlays, plus npm ci -> eslint -> tsc -> vite build for the frontend. ESLint config uses the v9 flat-config format that the project was already on (eslint v9 dropped .eslintrc support); replaces the broken 'eslint . --ext' invocation and adds @typescript-eslint, react-hooks, and react-refresh plugins. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
62 lines
1.8 KiB
JSON
62 lines
1.8 KiB
JSON
{
|
|
"name": "legacyhub-frontend",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview --port 4173",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,css}\""
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
"@radix-ui/react-popover": "^1.1.2",
|
|
"@radix-ui/react-progress": "^1.1.0",
|
|
"@radix-ui/react-scroll-area": "^1.2.0",
|
|
"@radix-ui/react-select": "^2.1.2",
|
|
"@radix-ui/react-separator": "^1.1.0",
|
|
"@radix-ui/react-slot": "^1.1.0",
|
|
"@radix-ui/react-switch": "^1.1.1",
|
|
"@radix-ui/react-tabs": "^1.1.1",
|
|
"@radix-ui/react-tooltip": "^1.1.3",
|
|
"@tanstack/react-query": "^5.51.0",
|
|
"@tanstack/react-virtual": "^3.10.6",
|
|
"axios": "^1.7.7",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.0.0",
|
|
"date-fns": "^3.6.0",
|
|
"framer-motion": "^11.5.4",
|
|
"lucide-react": "^0.451.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-router-dom": "^6.26.2",
|
|
"recharts": "^2.13.0",
|
|
"sonner": "^1.5.0",
|
|
"tailwind-merge": "^2.5.2",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"zustand": "^4.5.5"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@types/node": "^22.7.4",
|
|
"@types/react": "^18.3.11",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
"@typescript-eslint/parser": "^8.59.3",
|
|
"@vitejs/plugin-react": "^4.3.2",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9.11.1",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.26",
|
|
"postcss": "^8.4.47",
|
|
"prettier": "^3.3.3",
|
|
"tailwindcss": "^3.4.13",
|
|
"typescript": "^5.6.2",
|
|
"vite": "^5.4.8"
|
|
}
|
|
}
|