- Add bookings list/create API with filters (siteId, date, status) - Add booking detail, update, and delete endpoints - Add payment processing endpoint with transaction support - Add clients list/search and create API - Implement membership discounts (free hours and percentage) - Validate requests with Zod schemas from shared package - Include Spanish error messages Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "@padel-pro/web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --port 3000",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"type-check": "tsc --noEmit",
|
|
"db:generate": "prisma generate",
|
|
"db:push": "prisma db push",
|
|
"db:studio": "prisma studio"
|
|
},
|
|
"dependencies": {
|
|
"@padel-pro/shared": "*",
|
|
"@prisma/client": "^5.10.0",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
"@radix-ui/react-label": "^2.0.2",
|
|
"@radix-ui/react-select": "^2.0.0",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
"@radix-ui/react-toast": "^1.1.5",
|
|
"bcryptjs": "^2.4.3",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.0",
|
|
"lucide-react": "^0.330.0",
|
|
"next": "14.2.0",
|
|
"next-auth": "^4.24.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"tailwind-merge": "^2.2.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20.11.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"autoprefixer": "^10.4.17",
|
|
"postcss": "^8.4.35",
|
|
"prisma": "^5.10.0",
|
|
"tailwindcss": "^3.4.1",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|