forked from noxious/server
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// Base options
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"moduleDetection": "force",
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
"lib": ["ESNext"],
|
|
"target": "es2022",
|
|
"moduleResolution": "bundler",
|
|
|
|
// Strictness
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
// Transpiling with TypeScript
|
|
"module": "NodeNext",
|
|
"baseUrl": "./src",
|
|
"rootDir": "./src",
|
|
|
|
"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"]
|
|
} |