47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext"],
|
|
"target": "ESNext",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"moduleDetection": "force",
|
|
"allowJs": true,
|
|
"declaration": true,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Output
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"#application/*": ["./dist/application/*"],
|
|
"#commands/*": ["./dist/commands/*"],
|
|
"#entities/*": ["./dist/entities/*"],
|
|
"#controllers/*": ["./dist/controllers/*"],
|
|
"#jobs/*": ["./dist/jobs/*"],
|
|
"#managers/*": ["./dist/managers/*"],
|
|
"#middleware/*": ["./dist/middleware/*"],
|
|
"#models/*": ["./dist/models/*"],
|
|
"#repositories/*": ["./dist/repositories/*"],
|
|
"#services/*": ["./dist/services/*"],
|
|
"#events/*": ["./dist/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": ["**/*.ts", "**/*.tsx"],
|
|
"exclude": ["node_modules"]
|
|
} |