|
1 | 1 | { |
2 | 2 | "compilerOptions": { |
3 | | - "target": "es6", |
4 | | - "module": "commonjs", |
5 | | - "rootDir": ".", |
6 | | - "resolveJsonModule": true, |
7 | | - "allowJs": true, |
8 | | - "checkJs": false, |
9 | | - "outDir": "dist", |
10 | | - "esModuleInterop": true, |
11 | | - "forceConsistentCasingInFileNames": true, |
12 | | - "strict": true, |
13 | | - "declaration": true, |
14 | | - "noImplicitAny": false, |
15 | | - "noEmitOnError": false, |
16 | | - "sourceMap": true, |
17 | | - "skipLibCheck": true |
| 3 | + /* Visit https://aka.ms/tsconfig to read more about this file */ |
| 4 | + "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ |
| 5 | + "module": "commonjs", /* Specify what module code is generated. */ |
| 6 | + "rootDir": "./", /* Specify the root folder within your source files. */ |
| 7 | + "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ |
| 8 | + "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ |
| 9 | + "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
| 10 | + "outDir": "./dist", /* Specify an output folder for all emitted files. */ |
| 11 | + "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ |
| 12 | + "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ |
| 13 | + "strict": true, /* Enable all strict type-checking options. */ |
| 14 | + "noImplicitAny": false, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ |
| 15 | + "skipLibCheck": true, /* Skip type checking all .d.ts files. */ |
| 16 | + "lib": ["es2021"], /* JS APIs and definitions to include */ |
| 17 | + "target": "es2021", /* Specify JS target revision */ |
| 18 | + "resolveJsonModule": true, /* Allows importing modules with a .json extension */ |
| 19 | + "allowJs": true, /* Allow JavaScript files to be imported inside your project */ |
| 20 | + "checkJs": false, /* Enable error reporting for JavaScript files */ |
| 21 | + "noEmitOnError": false, /* Do not emit compiler output files like JavaScript source code, source-maps or declarations if any errors were reported. */ |
18 | 22 | }, |
19 | 23 | "include": [ |
20 | 24 | "./bin", |
|
28 | 32 | "exclude": [ |
29 | 33 | "node_modules/*" |
30 | 34 | ], |
31 | | - "compileOnSave": true |
| 35 | + "compileOnSave": true, |
| 36 | + "extends": "@tsconfig/node16/tsconfig.json" |
32 | 37 | } |
0 commit comments