forked from Rahim-Chan/taro-listview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
42 lines (42 loc) · 993 Bytes
/
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
{
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"removeComments": false,
"preserveConstEnums": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
"outDir": "lib",
"noUnusedLocals": true,
"noUnusedParameters": true,
"strictNullChecks": true,
"sourceMap": true,
"baseUrl": ".",
// "rootDir": ".",
"jsx": "preserve",
"jsxFactory": "Taro.createElement",
"allowJs": true,
"resolveJsonModule": true,
"typeRoots": [
"node_modules/@types",
"global.d.ts"
],
"paths": {
"components": ["./src/components/index.ts"],
"components/*": ["./src/components/*"],
"models": ["./src/models/index.ts"],
"utils/*": ["./src/utils/*"],
"package": ["./package.json"]
}
},
"exclude": [
"node_modules",
"dist"
],
"include": [
"src/components/*",
"src/index.ts"
]
}