|
12 | 12 |
|
13 | 13 | /* Language and Environment */ |
14 | 14 | "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ |
15 | | - // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ |
| 15 | + "lib": ["es2017", "es7", "es6", "dom"], /* 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. */ |
18 | 18 | // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ |
|
25 | 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ |
26 | 26 |
|
27 | 27 | /* Modules */ |
28 | | - "module": "commonjs", /* Specify what module code is generated. */ |
| 28 | + "module": "amd", /* Specify what module code is generated. */ |
29 | 29 | // "rootDir": "./", /* 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. */ |
|
50 | 50 |
|
51 | 51 | /* Emit */ |
52 | 52 | "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ |
53 | | - // "declarationMap": true, /* Create sourcemaps for d.ts files. */ |
| 53 | + "declarationMap": true, /* Create sourcemaps for d.ts files. */ |
54 | 54 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ |
55 | 55 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ |
56 | 56 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ |
57 | | - // "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. */ |
58 | | - // "outDir": "./", /* Specify an output folder for all emitted files. */ |
| 57 | + "outFile": "dist/index.js", /* 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. */ |
| 58 | + "outDir": "./dist", /* Specify an output folder for all emitted files. */ |
59 | 59 | // "removeComments": true, /* Disable emitting comments. */ |
60 | 60 | // "noEmit": true, /* Disable emitting files from a compilation. */ |
61 | 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ |
|
0 commit comments