- 新增 ecosystem.config.js(next start -H 0.0.0.0 -p 3100) - package.json start 脚本绑定 0.0.0.0 - DEPLOY.md 重写为 PM2 详细部署,含端口放行/防火墙/Nginx 反代/更新回滚 - .gitignore 忽略 logs/ Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
|
"name": "crm-new",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev -p 3100",
|
|
"build": "next build",
|
|
"start": "next start -H 0.0.0.0 -p 3100",
|
|
"lint": "next lint",
|
|
"prisma:pull": "prisma db pull",
|
|
"prisma:generate": "prisma generate",
|
|
"seed": "tsx prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/client": "^6.11.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"lucide-react": "^0.469.0",
|
|
"lunar-typescript": "^1.8.6",
|
|
"next": "^15.3.0",
|
|
"next-auth": "^5.0.0-beta.25",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"recharts": "^3.9.2",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "^2.6.0",
|
|
"xlsx": "^0.18.5",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.0.0",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^22.10.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"prisma": "^6.11.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|