Skip to content

Instantly share code, notes, and snippets.

@joaoazevedoJS
Last active July 5, 2020 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joaoazevedoJS/3cef3178afd660d057943821b8906f2e to your computer and use it in GitHub Desktop.
Save joaoazevedoJS/3cef3178afd660d057943821b8906f2e to your computer and use it in GitHub Desktop.
configuration for tsconfig.json
{
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"lib": [
"es6"
],
"allowJs": true,
"outDir": "./dist",
"rootDir": "./src",
"removeComments": true,
"typeRoots": [
"./node_modules/@types",
"./src/@types"
],
"esModuleInterop": true,
"resolveJsonModule": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"@controllers/*": ["./src/controllers/*"],
"@models/*": ["./src/models/*"],
"@config/*": ["./src/config/*"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment