- Add nodemailer@^7.0.7 and @types/nodemailer (v7 required by next-auth peer dep) - Create src/lib/contact-mailer.ts: Nodemailer SMTP transporter + sendContactEmail() - Create src/lib/contact-action.ts: Server Action with Zod validation, honeypot check - SMTP credentials read from CONTACT_EMAIL_USER/PASS/SMTP_HOST/PORT env vars - Add CONTACT_* placeholder vars to .env.local (gitignored, for local setup docs) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "teressa-copeland-homes",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:seed": "tsx scripts/seed.ts",
|
|
"db:studio": "drizzle-kit studio"
|
|
},
|
|
"dependencies": {
|
|
"@vercel/blob": "^2.3.1",
|
|
"bcryptjs": "^3.0.3",
|
|
"drizzle-orm": "^0.45.1",
|
|
"lucide-react": "^0.577.0",
|
|
"next": "16.2.0",
|
|
"next-auth": "5.0.0-beta.30",
|
|
"nodemailer": "^7.0.13",
|
|
"postgres": "^3.4.8",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20",
|
|
"@types/nodemailer": "^7.0.11",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"dotenv": "^17.3.1",
|
|
"drizzle-kit": "^0.31.10",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.0",
|
|
"tailwindcss": "^4",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5"
|
|
}
|
|
}
|