-
Notifications
You must be signed in to change notification settings - Fork 12
/
tsconfig.build.json
41 lines (39 loc) · 3.02 KB
/
tsconfig.build.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "./tsconfig.json",
"compilerOptions": {
"diagnostics": true,
"noEmit": false,
"incremental": false, // Force rewrite output
"tsBuildInfoFile": null,
"types": [
/* Specify type package names to be included without being referenced in a source file. */
"node",
"react-native"
],
"outDir": "dist" /* Specify an output folder for all emitted files. */,
"declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
"declarationMap": true /* Create sourcemaps for d.ts files. */,
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
// "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. */
// "removeComments": true /* Disable emitting comments. */,
// "noEmit": true, /* Disable emitting files from a compilation. */
"importHelpers": true /* Allow importing helper functions from tslib once per project, instead of including them per-file. */,
"importsNotUsedAsValues": "remove" /* Specify emit/checking behavior for imports that are only used for types. */,
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true /* Include sourcemap files inside the emitted JavaScript. */,
// "inlineSources": true /* Include source code in the sourcemaps inside the emitted JavaScript. */,
// "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
"newLine": "crlf" /* Set the newline character for emitting files. */,
"stripInternal": true /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
// "noEmitOnError": true /* Disable emitting files if any type checking errors are reported. */
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
// "declarationDir": "./", /* Specify the output directory for generated declaration files. */
// "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
},
"exclude": ["**/*.test.ts"]
}