Skip to content

Instantly share code, notes, and snippets.

@birendra-b
Created June 29, 2020 16:10
Show Gist options
  • Save birendra-b/43d55320e66000e084a807387a350f3a to your computer and use it in GitHub Desktop.
Save birendra-b/43d55320e66000e084a807387a350f3a to your computer and use it in GitHub Desktop.
tsconfig.json with basic configuration for a web server
{
"compilerOptions": {
"lib": [
"es5",
"es6"
],
"baseUrl": "./",
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"strictPropertyInitialization": false,
"importHelpers": true,
"module": "commonjs",
"outDir": "dist",
"removeComments": true,
"sourceMap": true,
"strict": true,
"target": "es6",
"moduleResolution": "node",
"paths": {
"@daos/*": [
"src/daos/*"
],
"@entities/*": [
"src/entities/*"
],
"@shared/*": [
"src/shared/*"
],
"@server": [
"src/Server"
]
},
"types": [
"node"
],
"typeRoots": [
"node_modules/@types"
]
},
"include": [
"src/**/*.ts",
"spec/**/*.ts"
],
"exclude": [
"src/public/"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment