51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// Base options
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"moduleDetection": "force",
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
"lib": ["es2022"],
|
|
"target": "es2022",
|
|
|
|
// Strictness
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
// Transpiling with TypeScript
|
|
"module": "NodeNext",
|
|
"baseUrl": "./src",
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
"sourceMap": true,
|
|
|
|
"paths": {
|
|
"#root/*": ["./*"],
|
|
"#application/*": ["application/*"],
|
|
"#commands/*": ["commands/*"],
|
|
"#entities/*": ["entities/*"],
|
|
"#controllers/*": ["controllers/*"],
|
|
"#jobs/*": ["jobs/*"],
|
|
"#managers/*": ["managers/*"],
|
|
"#middleware/*": ["middleware/*"],
|
|
"#models/*": ["models/*"],
|
|
"#repositories/*": ["repositories/*"],
|
|
"#services/*": ["services/*"],
|
|
"#events/*": ["events/*"]
|
|
},
|
|
|
|
// Specify multiple folders that act like './node_modules/@types'
|
|
"typeRoots": ["./node_modules/@types"],
|
|
|
|
// Other options
|
|
"forceConsistentCasingInFileNames": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
|
"exclude": ["node_modules", "dist"]
|
|
} |