init:创建后端项目框架,确保环境的基本运行

This commit is contained in:
moyin
2025-12-08 16:49:24 +08:00
commit 98eab7ed81
17 changed files with 214 additions and 0 deletions

24
tsconfig.json Normal file
View File

@@ -0,0 +1,24 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "CommonJS",
"lib": ["ES2020"],
"moduleResolution": "node",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"strictNullChecks": false
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}