forked from alitajs/alita-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
62 lines (60 loc) · 1.48 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
53
54
55
56
57
58
59
60
61
62
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "build/dist",
"sourceMap": true,
"jsx": "react",
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es5",
"typeRoots": ["node_modules/@types"],
"lib": ["es2018", "dom"],
"allowSyntheticDefaultImports": true,
"rootDirs": ["/src", "/test", "/mock", "./typings"],
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"allowJs": true,
// "strict": true,
"paths": {
"@/*": ["./src/*"],
"@@/*": ["./src/.umi/*"]
}
},
"exclude": [
"node_modules",
"build",
"scripts",
"acceptance-tests",
"webpack",
"jest",
"tslint:latest",
"tslint-config-prettier",
"_test_"
]
}
// {
// "compilerOptions": {
// "outDir": "build/dist",
// "module": "esnext",
// "target": "esnext",
// "lib": ["esnext", "dom"],
// "sourceMap": true,
// "baseUrl": ".",
// "jsx": "react",
// "allowSyntheticDefaultImports": true,
// "moduleResolution": "node",
// "forceConsistentCasingInFileNames": true,
// "noImplicitReturns": true,
// "suppressImplicitAnyIndexErrors": true,
// "noUnusedLocals": true,
// "experimentalDecorators": true,
// "strict": true,
// "declaration": true
// },
// }