|
| 1 | +{ |
| 2 | + "compilerOptions": { |
| 3 | + /* Basic Options */ |
| 4 | + "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ |
| 5 | + "lib": ["es2015"], |
| 6 | + "module": "amd", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ |
| 7 | + // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ |
| 8 | + "declaration": true, /* Generates corresponding '.d.ts' file. */ |
| 9 | + "sourceMap": true, /* Generates corresponding '.map' file. */ |
| 10 | + "outFile": "./dist/build.js", /* Concatenate and emit output to single file. */ |
| 11 | + "outDir": "./build", /* Redirect output structure to the directory. */ |
| 12 | + "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ |
| 13 | + |
| 14 | + /* Strict Type-Checking Options */ |
| 15 | + "strict": true, /* Enable all strict type-checking options. */ |
| 16 | + "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */ |
| 17 | + "strictNullChecks": true, /* Enable strict null checks. */ |
| 18 | + "strictFunctionTypes": true, /* Enable strict checking of function types. */ |
| 19 | + "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ |
| 20 | + "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ |
| 21 | + "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ |
| 22 | + |
| 23 | + /* Module Resolution Options */ |
| 24 | + // "types": [], /* Type declaration files to be included in compilation. */ |
| 25 | + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
| 26 | + |
| 27 | + /* Experimental Options */ |
| 28 | + "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ |
| 29 | + "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ |
| 30 | + } |
| 31 | +} |
0 commit comments