|
|
|
@@ -2,12 +2,12 @@
|
|
|
|
|
{
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
/* Basic Options */
|
|
|
|
|
"target": "esnext", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
|
|
|
|
|
"target": "esnext", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
|
|
|
|
|
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
|
|
|
|
"lib": ["es6"], /* Specify library files to be included in the compilation. */
|
|
|
|
|
"lib": ["es6"], /* 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": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
|
|
|
|
"jsx": "react-native", /* 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. */
|
|
|
|
@@ -15,6 +15,7 @@
|
|
|
|
|
// "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. */
|
|
|
|
|
"incremental": true, /* Enable incremental compilation */
|
|
|
|
|
// "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'). */
|
|
|
|
@@ -58,4 +59,4 @@
|
|
|
|
|
"exclude": [
|
|
|
|
|
"node_modules", "babel.config.js", "metro.config.js", "jest.config.js"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|