35 lines
1.9 KiB
JSON
35 lines
1.9 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Language and Environment */
|
|
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
/* Modules */
|
|
"module": "ESNext", /* Specify what module code is generated. */
|
|
"rootDir": "./src", /* Specify the root folder within your source files. */
|
|
"moduleResolution": "Node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
|
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
|
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
|
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
|
/* Emit */
|
|
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
|
"outDir": "./dist", /* Specify an output folder for all emitted files. */
|
|
"removeComments": true, /* Disable emitting comments. */
|
|
/* Interop Constraints */
|
|
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
/* Type Checking */
|
|
"strict": true, /* Enable all strict type-checking options. */
|
|
"strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
/* Completeness */
|
|
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
},
|
|
"include": [
|
|
"./src"
|
|
],
|
|
"ts-node": {
|
|
"esm": true
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
],
|
|
} |