- 配置 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>
38 lines
921 B
JSON
38 lines
921 B
JSON
{
|
|
"name": "@seclusion/shared",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"import": "./dist/types/index.mjs",
|
|
"require": "./dist/types/index.js"
|
|
},
|
|
"./utils": {
|
|
"types": "./dist/utils/index.d.ts",
|
|
"import": "./dist/utils/index.mjs",
|
|
"require": "./dist/utils/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"clean": "rm -rf dist",
|
|
"lint": "eslint src --ext .ts,.tsx"
|
|
},
|
|
"devDependencies": {
|
|
"@seclusion/eslint-config": "workspace:*",
|
|
"@seclusion/typescript-config": "workspace:*",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
}
|