Skip to content

Instantly share code, notes, and snippets.

@socraticprogrammer
Created September 23, 2024 13:06
Show Gist options
  • Save socraticprogrammer/04097b590180cf766c35daedf853928c to your computer and use it in GitHub Desktop.
Save socraticprogrammer/04097b590180cf766c35daedf853928c to your computer and use it in GitHub Desktop.
TS configuration file
{
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"removeComments": true,
"resolveJsonModule": true,
"allowJs": true,
"rootDir": ".",
"outDir": "dist/",
"baseUrl": ".",
"module": "commonjs",
"target": "ES6",
"lib": [
"ES6",
"ES7",
"ES2017",
"ES2018",
"ES2019",
"ES2020",
"ES2021",
"ES2022",
"ES2023"
],
"typeRoots": ["node_modules/@types/", "./src/@types/"],
"paths": {
"@/domain/*": ["./src/domain/*"],
"@/app/*": ["./src/app/*"],
"@/presentation/*": ["./src/presentation/*"],
"@/main/*": ["./src/main/*"],
"@/infra/*": ["./src/infra/*"],
"@/validation/*": ["./src/validation/*"],
"@/shared/*": ["./src/shared/*"]
}
},
"include": ["./package.json", "src/**/*", "tests/*"],
"exclude": ["node_modules/", "dist/", "coverage/"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment