1e66e918ac
- Add conversations and direct_messages tables to schema - User messaging page at /messages (users can start conversations, see admin responses) - Admin messaging page at /admin/messages (view all conversations, reply to users) - Admin bulk messaging: send to all customers, specific users, or admins - Mail icon in navbar for logged-in users (links to appropriate messaging page) - Show first name of admin who responded in conversation view - Clean build cache after middleware changes
37 lines
873 B
JSON
37 lines
873 B
JSON
{
|
|
"name": "la-huasca-ts",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "node .next/standalone/server.js",
|
|
"lint": "next lint",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@chenglou/pretext": "^0.0.8",
|
|
"bcryptjs": "^2.4.3",
|
|
"jose": "^5.6.3",
|
|
"next": "^14.2.35",
|
|
"pg": "^8.12.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"sharp": "^0.35.2"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20.17.30",
|
|
"@types/pg": "^8.11.6",
|
|
"@types/react": "^18.3.20",
|
|
"@types/react-dom": "^18.3.6",
|
|
"@vitejs/plugin-react": "^6.0.3",
|
|
"jsdom": "^29.1.1",
|
|
"tsx": "^4.22.4",
|
|
"typescript": "^5.4.5",
|
|
"vitest": "^4.1.9"
|
|
}
|
|
}
|