The project had no automated verification at all, so the "Test" step in the AGENTS.md workflow rested entirely on clicking through the app. The suite runs on bun with node:assert and adds no dependency: every file is a script that exits non-zero when a check fails, and test/run.ts runs each one in its own process. Unit tests cover the rules that decide what players see (badges, streaks, ball duty rotation, ratings, MVP ties, scouting totals, goals, notifications, CSI parsing); integration and end-to-end tests drive the real dev server. Nothing writes to the database, so both can be pointed at a live environment. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
96 lines
3.1 KiB
JSON
96 lines
3.1 KiB
JSON
{
|
|
"name": "tanstack_start_ts",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"build:dev": "vite build --mode development",
|
|
"preview": "vite preview",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write .",
|
|
"test": "bun test/run.ts",
|
|
"test:integration": "bun test/run.ts integration",
|
|
"test:e2e": "bun test/run.ts e2e",
|
|
"test:all": "bun test/run.ts all"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@lovable.dev/cloud-auth-js": "^1.1.2",
|
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
"@radix-ui/react-avatar": "^1.1.11",
|
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
"@radix-ui/react-collapsible": "^1.1.12",
|
|
"@radix-ui/react-context-menu": "^2.2.16",
|
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
"@radix-ui/react-hover-card": "^1.1.15",
|
|
"@radix-ui/react-label": "^2.1.8",
|
|
"@radix-ui/react-menubar": "^1.1.16",
|
|
"@radix-ui/react-navigation-menu": "^1.2.14",
|
|
"@radix-ui/react-popover": "^1.1.15",
|
|
"@radix-ui/react-progress": "^1.1.8",
|
|
"@radix-ui/react-radio-group": "^1.3.8",
|
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"@radix-ui/react-slider": "^1.3.6",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@radix-ui/react-switch": "^1.2.6",
|
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
"@radix-ui/react-toggle": "^1.1.10",
|
|
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@supabase/supabase-js": "^2.111.0",
|
|
"@tailwindcss/vite": "^4.2.1",
|
|
"@tanstack/react-query": "^5.101.1",
|
|
"@tanstack/react-router": "^1.170.18",
|
|
"@tanstack/react-start": "^1.168.32",
|
|
"@tanstack/router-plugin": "^1.168.23",
|
|
"canvas-confetti": "^1.9.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"embla-carousel-react": "^8.6.0",
|
|
"input-otp": "^1.4.2",
|
|
"lucide-react": "^0.575.0",
|
|
"react": "^19.2.0",
|
|
"react-day-picker": "^9.14.0",
|
|
"react-dom": "^19.2.0",
|
|
"react-hook-form": "^7.71.2",
|
|
"react-resizable-panels": "^4.6.5",
|
|
"recharts": "^2.15.4",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tailwindcss": "^4.2.1",
|
|
"tw-animate-css": "^1.3.4",
|
|
"vaul": "^1.1.2",
|
|
"vite-tsconfig-paths": "^6.0.2",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.32.0",
|
|
"@lovable.dev/vite-tanstack-config": "2.8.5",
|
|
"@types/canvas-confetti": "^1.9.0",
|
|
"@types/node": "^22.16.5",
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@vitejs/plugin-react": "^5.2.0",
|
|
"eslint": "^9.32.0",
|
|
"eslint-config-prettier": "^10.1.1",
|
|
"eslint-plugin-prettier": "^5.2.6",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
"globals": "^15.15.0",
|
|
"nitro": "3.0.260603-beta",
|
|
"prettier": "^3.7.3",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "^8.56.1",
|
|
"vite": "^8.1.5"
|
|
}
|
|
}
|