54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext"],
|
|
"target": "ESNext",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"moduleDetection": "force",
|
|
"allowJs": true,
|
|
"declaration": true,
|
|
"noImplicitAny": true,
|
|
"resolveJsonModule": true,
|
|
"sourceMap": true,
|
|
"isolatedModules": true,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Output
|
|
"baseUrl": "./src",
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
|
|
"paths": {
|
|
"#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
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist"
|
|
]
|
|
} |