|
1 | 1 | { |
2 | 2 | "compilerOptions": { |
3 | | - /* Visit https://aka.ms/tsconfig.json to read more about this file */ |
4 | | - |
5 | | - /* Basic Options */ |
6 | | - "target": "ES2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ |
7 | | - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ |
8 | | - "lib": ["WebWorker","es6", "es2019"], /* Specify library files to be included in the compilation. */ |
9 | | - "typeRoots": ["node_modules/@types"], |
10 | | - "outDir": "dist", /* Redirect output structure to the directory. */ |
11 | | - "rootDir": ".", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ |
12 | | - "removeComments": true, /* Do not emit comments to output. */ |
13 | | - |
14 | | - "declaration": true, /* Ensure that .d.ts files are created by tsc, but not .js files */ |
| 3 | + "target": "ES2020", |
| 4 | + "module": "commonjs", |
| 5 | + "typeRoots": [ |
| 6 | + "node_modules/@types" |
| 7 | + ], |
| 8 | + "types": [ |
| 9 | + "node", |
| 10 | + "jest" |
| 11 | + ], |
| 12 | + "outDir": "./dist", |
| 13 | + "removeComments": true, |
| 14 | + "declaration": true, |
15 | 15 | "emitDeclarationOnly": true, |
16 | | - "isolatedModules": false, /* Ensure that Babel can safely transpile files in the TypeScript project */ |
17 | | - |
18 | | - /* Strict Type-Checking Options */ |
19 | | - "strict": true, /* Enable all strict type-checking options. */ |
20 | | - "strictNullChecks": true, /* Enable strict null checks. */ |
21 | | - "strictFunctionTypes": true, /* Enable strict checking of function types. */ |
22 | | - |
23 | | - /* Module Resolution Options */ |
24 | | - "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
25 | | - "skipLibCheck": true, /* Skip type checking of declaration files. */ |
26 | | - "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */ |
27 | | - "types": ["node", "jest"] |
| 16 | + "strict": true, |
| 17 | + "strictNullChecks": true, |
| 18 | + "strictFunctionTypes": true, |
| 19 | + "skipLibCheck": true, |
| 20 | + "forceConsistentCasingInFileNames": true |
28 | 21 | }, |
29 | 22 | "exclude": [ |
30 | | - "/node_modules/", |
31 | | - "tests/**/*", |
32 | | - ], |
33 | | - "include": [ |
34 | | - "src/**/*" |
| 23 | + "node_modules", |
| 24 | + "jest.config.ts", |
| 25 | + "test*/*", |
| 26 | + "dist", |
| 27 | + "**/*spec.ts" |
35 | 28 | ] |
36 | 29 | } |
0 commit comments