Skip to content

Instantly share code, notes, and snippets.

@eesa1980
Created July 4, 2021 16:02
Show Gist options
  • Save eesa1980/116ba4e7f749316d6512e5bc9f1a1e33 to your computer and use it in GitHub Desktop.
Save eesa1980/116ba4e7f749316d6512e5bc9f1a1e33 to your computer and use it in GitHub Desktop.
#tsconfig #node
{
"compilerOptions": {
"sourceMap": true,
"target": "es6",
/* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ "module": "commonjs",
/* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ "allowJs": true,
/* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ "outDir": "./build",
/* Redirect output structure to the directory. */ "rootDir": ".",
/* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ "strict": true,
/* Enable all strict type-checking options. */ "noImplicitAny": false,
/* Raise error on expressions and declarations with an implied 'any' type. */ "moduleResolution": "node",
/* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ "baseUrl": "",
/* Base directory to resolve non-absolute module names. */ "esModuleInterop": true,
/* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ "skipLibCheck": true,
/* Skip type checking of declaration files. */ "forceConsistentCasingInFileNames": true,
/* Disallow inconsistently-cased references to the same file. */ "types": [
"node",
"jest"
]
},
"lib": ["es2015"],
"include": ["./**/*.ts", "./**/*.js"],
"exclude": ["/node_modules",
"**/*.test.ts", "./build/**/*.js", "./jest.config.js", "./types.ts"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment