43 lines
1.2 KiB
JSON
43 lines
1.2 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,
|
|
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"#application/*": ["./src/application/*"],
|
|
"#commands/*": ["./src/commands/*"],
|
|
"#entities/*": ["./src/entities/*"],
|
|
"#http/*": ["./src/http/*"],
|
|
"#jobs/*": ["./src/jobs/*"],
|
|
"#managers/*": ["./src/managers/*"],
|
|
"#middleware/*": ["./src/middleware/*"],
|
|
"#models/*": ["./src/models/*"],
|
|
"#repositories/*": ["./src/repositories/*"],
|
|
"#services/*": ["./src/services/*"],
|
|
"#events/*": ["./src/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"]
|
|
} |