-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
20 lines (19 loc) · 1.05 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"compilerOptions": {
"lib": ["dom", "es2015"],
"outDir": "dist/", // path to output directory
"sourceMap": true, // allow sourcemap support
"declaration": true, /* Generates corresponding '.d.ts' file. */
"strictNullChecks": true, // enable strict null checks as a best practice
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"target":
"ES5" /* 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'. */,
"jsx": "react", // use typescript to transpile jsx to js
"allowJs": false // allow a partial TypeScript and JavaScript codebase
},
"include": [
"src/**/*"
]
}