|
11 | 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ |
12 | 12 |
|
13 | 13 | /* Language and Environment */ |
14 | | - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
| 14 | + "target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
15 | 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ |
16 | 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */ |
17 | 17 | // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ |
|
26 | 26 |
|
27 | 27 | /* Modules */ |
28 | 28 | "module": "commonjs", /* Specify what module code is generated. */ |
29 | | - // "rootDir": "./", /* Specify the root folder within your source files. */ |
| 29 | + "rootDir": "./lib", /* Specify the root folder within your source files. */ |
30 | 30 | // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ |
31 | 31 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ |
32 | 32 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ |
|
46 | 46 | // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */ |
47 | 47 |
|
48 | 48 | /* JavaScript Support */ |
49 | | - // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ |
| 49 | + "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ |
50 | 50 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ |
51 | 51 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ |
52 | 52 |
|
53 | 53 | /* Emit */ |
54 | 54 | // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ |
55 | 55 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */ |
56 | 56 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ |
57 | | - // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
| 57 | + "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
58 | 58 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ |
59 | 59 | // "noEmit": true, /* Disable emitting files from a compilation. */ |
60 | 60 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ |
61 | | - // "outDir": "./", /* Specify an output folder for all emitted files. */ |
| 61 | + "outDir": "./dist", /* Specify an output folder for all emitted files. */ |
62 | 62 | // "removeComments": true, /* Disable emitting comments. */ |
63 | 63 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ |
64 | 64 | // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ |
|
107 | 107 | /* Completeness */ |
108 | 108 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ |
109 | 109 | "skipLibCheck": true /* Skip type checking all .d.ts files. */ |
110 | | - } |
| 110 | + }, |
| 111 | + "exclude": [ |
| 112 | + "node_modules", |
| 113 | + "**/*.unit*", |
| 114 | + "**/*.spec*", |
| 115 | + "coverage/**", |
| 116 | + "dist", |
| 117 | + ] |
111 | 118 | } |
0 commit comments