fe6e96dd3f
Shadboard starter-kit (Next.js 15 + React 19 + shadcn/ui + Tailwind 4) Sprint 4.a — Admin Dashboard: - Auth: NextAuth.js v5, login page, middleware, token rotation - Dashboard: KPI cards, Recharts stock chart, quick actions - Members: TanStack Table (search/sort/paginate), add/edit forms - Distributions: multi-step form, real-time quota check, history - Stock: batch management, recall dialog, bar chart - Reports: monthly/member-list/recall, PDF/CSV download, preview Sprint 4.b — Member Portal: - Separate route group with top-nav layout (mobile-first) - Quota dashboard with radial SVG progress indicators - Distribution history with month filter - Profile/settings with password change Cross-cutting: - i18n: German (default) + English via next-intl - Dark + light mode (next-themes, user-togglable) - Playwright E2E tests (6/6 green) - Docker multi-stage build (node:22-alpine) - API proxy via Next.js rewrites Tech: Next.js 15.2.8, React 19, Tailwind 4, NextAuth v5, TanStack Table, Recharts, Zod, React Hook Form, Playwright
91 lines
2.6 KiB
JSON
91 lines
2.6 KiB
JSON
{
|
|
"name": "shadboard-nextjs-starter-kit",
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"author": {
|
|
"name": "Layth Alqadhi",
|
|
"url": "https://github.com/LaythAlqadhi"
|
|
},
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"lint:fix": "next lint --fix",
|
|
"format": "prettier --ignore-path .gitignore --write ."
|
|
},
|
|
"engines": {
|
|
"node": ">=22",
|
|
"pnpm": ">=10"
|
|
},
|
|
"packageManager": "pnpm@10.8.1",
|
|
"dependencies": {
|
|
"@eslint/eslintrc": "3.2.0",
|
|
"@hookform/resolvers": "3.9.1",
|
|
"@radix-ui/react-alert-dialog": "1.1.1",
|
|
"@radix-ui/react-avatar": "1.1.0",
|
|
"@radix-ui/react-collapsible": "1.1.0",
|
|
"@radix-ui/react-dialog": "1.1.3",
|
|
"@radix-ui/react-direction": "1.1.0",
|
|
"@radix-ui/react-dropdown-menu": "2.1.1",
|
|
"@radix-ui/react-label": "2.1.0",
|
|
"@radix-ui/react-menubar": "1.1.1",
|
|
"@radix-ui/react-scroll-area": "1.1.0",
|
|
"@radix-ui/react-separator": "1.1.1",
|
|
"@radix-ui/react-slot": "1.1.1",
|
|
"@radix-ui/react-toast": "1.2.1",
|
|
"@radix-ui/react-tooltip": "1.1.5",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"cmdk": "1.1.1",
|
|
"date-fns": "3.6.0",
|
|
"embla-carousel-autoplay": "8.5.1",
|
|
"embla-carousel-react": "8.5.1",
|
|
"emoji-picker-react": "4.12.2",
|
|
"input-otp": "1.4.2",
|
|
"lucide-react": "0.446.0",
|
|
"next": "15.2.8",
|
|
"next-auth": "5.0.0-beta.31",
|
|
"next-intl": "^4.13.0",
|
|
"react": "19.1.3",
|
|
"react-day-picker": "9.6.4",
|
|
"react-dom": "19.1.3",
|
|
"react-hook-form": "^7.78.0",
|
|
"react-icons": "5.5.0",
|
|
"react-use": "17.5.1",
|
|
"recharts": "^3.8.1",
|
|
"sonner": "2.0.2",
|
|
"tailwind-merge": "2.5.2",
|
|
"vaul": "1.1.2",
|
|
"zod": "3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/compat": "1.2.7",
|
|
"@ianvs/prettier-plugin-sort-imports": "4.4.1",
|
|
"@playwright/test": "^1.60.0",
|
|
"@tailwindcss/postcss": "4.0.17",
|
|
"@tailwindcss/typography": "0.5.15",
|
|
"@types/eslint__eslintrc": "2.1.2",
|
|
"@types/node": "20",
|
|
"@types/react": "19.0.12",
|
|
"@types/react-dom": "19.0.4",
|
|
"eslint": "9.18.0",
|
|
"eslint-config-next": "15.2.8",
|
|
"eslint-config-prettier": "10.1.1",
|
|
"eslint-plugin-prettier": "5.2.3",
|
|
"playwright": "^1.60.0",
|
|
"postcss": "8",
|
|
"prettier": "3.5.3",
|
|
"prettier-plugin-tailwindcss": "0.6.11",
|
|
"tailwindcss": "4.1.3",
|
|
"tw-animate-css": "1.2.5",
|
|
"typescript": "5"
|
|
},
|
|
"overrides": {
|
|
"@types/react": "19.0.12",
|
|
"@types/react-dom": "19.0.4"
|
|
}
|
|
}
|