-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
52 lines (52 loc) · 1.92 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"compilerOptions": {
"target": "ES6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
"module": "es2015" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"strict": true /* Enable all strict type-checking options. */,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"allowJs": false /* Allow javascript files to be compiled. */,
"skipLibCheck": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"suppressImplicitAnyIndexErrors": true,
"sourceMap": true /* Generates corresponding '.map' file. */,
"outDir": "./dist" /* Redirect output structure to the directory. */,
"baseUrl": ".",
"downlevelIteration": true /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */,
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
/* Experimental Options */
"experimentalDecorators": true /* Enables experimental support for ES7 decorators. */,
"emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */,
"types": ["webpack-env", "jest"],
"paths": {
"@/*": ["src/*"],
"@/test/*": ["test/*"]
},
"lib": [
/* Specify library files to be included in the compilation */ "es2015",
"es2016",
"es2017",
"es2018",
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"include": [
"src/*",
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"src/custom.d.ts",
"tests/**/*.ts",
"tests/**/*.tsx",
"src/utils/build-icons.js",
"src/helpers/components/icon.ts"
],
// "include": ["src/*"],
"exclude": ["**/*.spec.ts", "**/*.spec.js", "node_modules"]
}