2017-06-02 18:41:32 +10:00
{
"compilerOptions" : {
/ * B a s i c O p t i o n s * /
"target" : "es5" , / * S p e c i f y E C M A S c r i p t t a r g e t v e r s i o n : ' E S 3 ' ( d e f a u l t ) , ' E S 5 ' , ' E S 2015 ' , ' E S 2016 ' , ' E S 2017 ' , o r ' E S N E X T ' . * /
"module" : "commonjs" , / * S p e c i f y m o d u l e c o d e g e n e r a t i o n : ' c o m m o n j s ' , ' a m d ' , ' s y s t e m ' , ' u m d ' o r ' e s 2015 ' . * /
// "lib": [], /* Specify library files to be included in the compilation: */
// "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": true, /* Generates corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "removeComments": true, /* Do not emit comments to output. */
// "noEmit": true, /* Do not emit 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": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
/ * S t r i c t T y p e - C h e c k i n g O p t i o n s * /
"strict" : true , / * E n a b l e a l l s t r i c t t y p e - c h e c k i n g o p t i o n s . * /
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
// "strictNullChecks": true, /* Enable strict null checks. */
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
/ * A d d i t i o n a l C h e c k s * /
// "noUnusedLocals": true, /* Report errors on unused locals. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
/ * M o d u l e R e s o l u t i o n O p t i o n s * /
2017-06-02 19:00:15 +10:00
"moduleResolution" : "node" , / * S p e c i f y m o d u l e r e s o l u t i o n s t r a t e g y : ' n o d e ' ( N o d e . j s ) o r ' c l a s s i c ' ( T y p e S c r i p t p r e -1.6 ) . * /
2017-06-02 18:41:32 +10:00
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
2017-06-02 18:42:10 +10:00
"typeRoots" : [
"node_modules/@types"
2017-06-02 19:00:15 +10:00
]
/ * L i s t o f f o l d e r s t o i n c l u d e t y p e d e f i n i t i o n s f r o m . * /
2017-06-02 18:41:32 +10:00
// "types": [], /* Type declaration files to be included in compilation. */
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
/ * S o u r c e M a p O p t i o n s * /
// "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/ * E x p e r i m e n t a l O p t i o n s * /
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
}
}