|
25 | 25 |
|
26 | 26 | /* Modules */
|
27 | 27 | "module": "commonjs", /* Specify what module code is generated. */
|
28 |
| - // "rootDir": "./", /* Specify the root folder within your source files. */ |
29 |
| - // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ |
| 28 | + "rootDir": "src", /* Specify the root folder within your source files. */ |
| 29 | + "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ |
30 | 30 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
31 | 31 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
32 | 32 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
|
45 | 45 | "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
46 | 46 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */
|
47 | 47 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
|
48 |
| - // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
| 48 | + "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
49 | 49 | // "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. */
|
50 |
| - "outDir": "./lib", /* Specify an output folder for all emitted files. */ |
| 50 | + "outDir": "dist", /* Specify an output folder for all emitted files. */ |
51 | 51 | // "removeComments": true, /* Disable emitting comments. */
|
52 | 52 | // "noEmit": true, /* Disable emitting files from a compilation. */
|
53 | 53 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
|
76 | 76 | /* Type Checking */
|
77 | 77 | "strict": true, /* Enable all strict type-checking options. */
|
78 | 78 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied `any` type.. */
|
79 |
| - // "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */ |
| 79 | + "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */ |
80 | 80 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
81 | 81 | // "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */
|
82 | 82 | // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
|
97 | 97 | /* Completeness */
|
98 | 98 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
99 | 99 | "skipLibCheck": true /* Skip type checking all .d.ts files. */
|
100 |
| - } |
| 100 | + }, |
| 101 | + "include": ["src"], |
| 102 | + "exclude": ["node_modules", "dist"] |
101 | 103 | }
|
0 commit comments