Last active
October 3, 2022 18:21
-
-
Save samuelastech/8d1d678f87e49c103955fb4fcea310e7 to your computer and use it in GitHub Desktop.
Typescript setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"dev": "ts-node-dev -r tsconfig-paths/register --respawn --transpile-only --ignore-watch node_modules --no-notify bin/www.ts" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "es2017", | |
"lib": ["es6"], | |
"experimentalDecorators": true, | |
"emitDecoratorMetadata": true, | |
"module": "commonjs", | |
"rootDir": "./", | |
"outDir": "./dist", | |
"typeRoots": [ | |
"./node_modules/@types", | |
"./@types" | |
], | |
"resolveJsonModule": true, | |
"allowJs": true, | |
"removeComments": true, | |
"esModuleInterop": true, | |
"forceConsistentCasingInFileNames": true, | |
"skipLibCheck": true, | |
"baseUrl": ".", | |
"paths": { | |
"@controllers/*": ["./controllers/*"], | |
"@models/*": ["./models/*"], | |
"@views/*": ["./views/*"] | |
}, | |
"strictNullChecks": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment