- 配置 pnpm workspace + Turborepo - 创建 Next.js 15 前端应用 (apps/web) - 创建 NestJS 10 后端应用 (apps/api) - 集成 Prisma ORM + Swagger + JWT 认证 - 添加共享包 (packages/shared, eslint-config, typescript-config) - 添加项目文档 (README, CLAUDE.md, docs/design.md) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
759 B
JSON
29 lines
759 B
JSON
{
|
|
"name": "seclusion",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"packageManager": "pnpm@9.15.2",
|
|
"scripts": {
|
|
"dev": "turbo run dev",
|
|
"build": "turbo run build",
|
|
"lint": "turbo run lint",
|
|
"test": "turbo run test",
|
|
"clean": "turbo run clean && rm -rf node_modules",
|
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
"db:generate": "turbo run db:generate",
|
|
"db:push": "turbo run db:push",
|
|
"db:migrate": "turbo run db:migrate"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.2",
|
|
"prettier": "^3.4.2",
|
|
"turbo": "^2.3.3",
|
|
"typescript": "^5.7.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0",
|
|
"pnpm": ">=9.0.0"
|
|
}
|
|
}
|