-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtsconfig.json
38 lines (37 loc) · 1.01 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
{
"compilerOptions": {
"outDir": "./lib",
"rootDirs": ["src"],
"target": "ES6",
"moduleResolution": "node",
"jsx": "react",
"allowJs": true,
"declaration": false,
"esModuleInterop": true,
"importHelpers": true,
"downlevelIteration": true,
"sourceMap": true,
"baseUrl": ".",
"typeRoots": ["./node_modules/@types", "./src/typings"],
"lib": ["ES2016", "DOM"],
"paths": {
"@/components/*": ["./src/components/*"],
"antd-mobile-taro-ui": ["./src/index"],
"demos": ["./src/demos"]
},
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"strict": false,
"noImplicitAny": true,
"resolveJsonModule": true,
"module": "CommonJS",
"removeComments": true,
"preserveConstEnums": true,
"experimentalDecorators": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true
},
"include": ["src", "global.d.ts", "scripts"],
"exclude": ["node_modules", "lib", "dist", "config"]
}