- Updated `env.example` to include NextAuth configuration for authentication. - Added `next-auth` dependency to manage user sessions. - Introduced `User` model in Prisma schema with fields for user details and password hashing. - Integrated `AuthProvider` in layout for session management across the app. - Enhanced `Header` component with `AuthButton` for user authentication controls.
54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
{
|
|
"name": "towercontrol",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build --turbopack",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"backup:create": "npx tsx scripts/backup-manager.ts create",
|
|
"backup:list": "npx tsx scripts/backup-manager.ts list",
|
|
"backup:verify": "npx tsx scripts/backup-manager.ts verify",
|
|
"backup:config": "npx tsx scripts/backup-manager.ts config",
|
|
"backup:start": "npx tsx scripts/backup-manager.ts scheduler-start",
|
|
"backup:stop": "npx tsx scripts/backup-manager.ts scheduler-stop",
|
|
"backup:status": "npx tsx scripts/backup-manager.ts scheduler-status",
|
|
"cache:monitor": "npx tsx scripts/cache-monitor.ts",
|
|
"cache:stats": "npx tsx scripts/cache-monitor.ts stats",
|
|
"cache:cleanup": "npx tsx scripts/cache-monitor.ts cleanup",
|
|
"cache:clear": "npx tsx scripts/cache-monitor.ts clear",
|
|
"test:story-points": "npx tsx scripts/test-story-points.ts",
|
|
"test:jira-fields": "npx tsx scripts/test-jira-fields.ts"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@prisma/client": "^6.16.1",
|
|
"bcryptjs": "^3.0.2",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"next": "15.5.3",
|
|
"next-auth": "^4.24.11",
|
|
"prisma": "^6.16.1",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"recharts": "^3.2.1",
|
|
"tailwind-merge": "^3.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "^15.5.3",
|
|
"knip": "^5.64.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5"
|
|
}
|
|
}
|