This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
53 lines (48 loc) · 4.4 KB
/
tsconfig.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
42
43
44
45
46
47
48
49
50
51
52
53
{ // NOTICE: Comments aren't parth of the JSON spec, so Use jsmin to strip out them
"compilerOptions": {
// BASIC OPTIONS
"target" : "ES5" // Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'.
,"module" : "commonjs" // Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'.
,"watch" : true // Run the compiler in watch mode. Watch input files and trigger recompilation on changes.
,"allowJs" : true // Allow javascript files to be compiled.
,"checkJs" : true // Report errors in .js files.
//,"jsx" : "preserve" // Specify JSX code generation : 'preserve', 'react-native', or 'react'.
,"declaration" : false // Generates corresponding '.d.ts' file.
//,"declarationDir" : ""
//,"sourceMap" : false // Generates corresponding '.map' file.
//,"rootDir" : "./" // Specify the root directory of input files. Use to control the output directory structure with --outDir.
,"removeComments" : false // Do not emit comments to output.
,"noEmit" : false // Do not emit outputs.
,"noEmitOnError" : false // Do not emit .js outputs
,"importHelpers" : true // Import emit helpers from 'tslib'.
,"downlevelIteration" : true // Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'.
,"isolatedModules" : false // Transpile each file as a separate module (similar to 'ts.transpileModule').
,"pretty" : false // Stylize errors and messages using color and context
,"traceResolution" : false // Report module resolution log messages.
//,"moduleResolution : "node" // Determine how modules get resolved. Either "node" for Node.js/io.js style resolution, or "classic"
,"skipLibCheck" : false // Skip type checking of all declaration files (*.d.ts).
,"sourceMap" : false
,"inlineSourceMap" : false // Emit a single file with source maps instead of having a separate file.
,"inlineSources" : false // Emit the source alongside the sourcemaps within a single file
,"noImplicitReturns" : false // Report error when not all code paths in function return a value.
,"noImplicitUseStrict" : true // Do not emit "use strict" directives in module output.
,"allowUnreachableCode" : true
// STRICT TYPE-CHECKING OPTIONS
,"strict" : true // Enable all strict type-checking options.
,"noImplicitAny" : false // Raise error on expressions and declarations with an implied 'any' type.
,"strictNullChecks" : false // Enable strict null checks.
,"noImplicitThis" : false // Raise error on 'this' expressions with an implied 'any' type.
,"alwaysStrict" : false // Parse in strict mode and emit "use strict" for each source file.
//,"outFile" : "./" // Concatenate and emit output to single file. See output file order documentation for more details.
//,"paths" : [] // List of path mapping entries for module names to locations relative to the baseUrl
//,"typeRoots" : ["node_modules/@types"] // roots of packages to be included into compilation
,"lib" : ["ES5","DOM","ES6","ES2015","ES2016"] // for --target ES5: DOM,ES5,ScriptHost
// for ES6: DOM,ES6,DOM.Iterable,ScriptHost
//,"outDir" : "./dist" // Redirect output structure to the directory.
// ► For --target ES5: DOM,ES5,ScriptHost
// ► For --target ES6: DOM,ES6,DOM.Iterable,ScriptHost
}
//,"files" : [] // Uncomment when using typings tool and typings/index.d.ts exists
,"include" : ["./src//**/*.*"]
//,"exclude" : [] // Default to: "node_modules", "bower_components", "jspm_packages" and <outDir>
}