-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
35 lines (31 loc) · 1.31 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
{
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "**/*.test.ts", "**/*.spec.ts"],
// Do not compile with TSC.
"compilerOptions": {
/* Basic Options */
"target": "es2018" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
// Use esnext for pika pkg else commonjs modules.
"module": "esnext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
// Allow to use node modules.
"moduleResolution": "node",
// Do not compile with TSC.
// "noEmit": true,
// Use dom and latest ES typings.
"lib": ["dom", "es2018"],
// Use for debugging and error tracking.
"sourceMap": true,
"outDir": "./dist" /* Redirect output structure to the directory. */,
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
// Strict type checks.
"strict": true /* Enable all strict type-checking options. */,
// Change this after finishing converting all ts
"noImplicitAny": false,
// Dead code checks.
"noUnusedLocals": true,
"noUnusedParameters": true,
// Possible bug checks.
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true
}
}