-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
51 lines (51 loc) · 1.25 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
{
"compilerOptions": {
"sourceMap": true,
"module": "CommonJS",
"baseUrl": "./node_modules",
// "jsx": "preserve",
"typeRoots": ["node_modules/@types"],
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext",
"es5",
"es2015.collection",
"es2015.promise"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
// "module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"strictNullChecks": false,
"experimentalDecorators": true,
"noEmit": true,
"jsx": "react",
"noImplicitAny": false, // 是否在表达式和声明上有隐含的any类型时报错
"outDir": "./dist",
"types": []
},
// "include": ["src", "dist"],
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx",
"src/tress/index.jsx",
"src/layout/index.jsx",
"src/layout/index.jsx",
"src/excel/Excel.jsx",
"src/excel/Excel.jsx",
"src/FreeTexturePacker/index.jsx"
],
"exclude": ["node_modules"]
}