Skip to content

Instantly share code, notes, and snippets.

@dorsev
Created August 15, 2020 10:20
Show Gist options
  • Save dorsev/efabb38add91c2387c20ac90c26e72b4 to your computer and use it in GitHub Desktop.
Save dorsev/efabb38add91c2387c20ac90c26e72b4 to your computer and use it in GitHub Desktop.
Your first tsconfig.json
{
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"allowJs": true,
"checkJs": false,
"outDir": "dist",
"rootDir": ".",
"strict": false,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"strictNullChecks": true,
"resolveJsonModule": true,
"sourceMap": true,
"baseUrl": ".",
"paths": {
"*": [
"*",
"src/*",
"src/setup/*",
"src/logic/*",
"src/models/*",
"config/*"
]
},
},
"exclude": ["node_modules", "dist"],
"include": [
"./src",
"./test",
"./*",
"./config"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment