Skip to content

Instantly share code, notes, and snippets.

@salazarr-js
Created May 16, 2022 20:55
Show Gist options
  • Save salazarr-js/b05538e4a4435f1caaa2a98c02273250 to your computer and use it in GitHub Desktop.
Save salazarr-js/b05538e4a4435f1caaa2a98c02273250 to your computer and use it in GitHub Desktop.
NodeJs + Typescript
{
"watch": ["src"],
"ext": "ts,json",
"ignore": ["src/**/*.spec.ts"],
"execMap": {
"ts": "ts-node -T -r tsconfig-paths/register"
}
}
{
"compilerOptions": {
"lib": ["es2021"],
"module": "commonjs",
"moduleResolution": "node",
"target": "es2021",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"importsNotUsedAsValues": "error",
"checkJs": true,
"outDir": "build",
"baseUrl": "./src",
"paths": {
"@/*": ["*"]
}
},
"include": ["./src/**/*"],
"exclude": ["node_modules", "src/**/*.spec.ts"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment