/
tsconfig.json
57 lines (57 loc) · 1.16 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
{
"compilerOptions": {
"lib": [
"dom",
"es5",
"es2015",
"es2015.promise"
],
"jsx": "preserve",
// 与 Vue 的浏览器支持保持一致
"target": "es5",
"sourceMap": true,
// 这可以对 `this` 上的数据属性进行更严格的推断
"strict": true,
// 如果使用 webpack 2+ 或 rollup,可以利用 tree-shake:
"module": "es2015",
"emitDecoratorMetadata": true,
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"vue": [
"node_modules/mpvue"
],
"@/*": [
"src/*"
]
},
"types": [
"@minapp/wx",
"node"
],
"strictNullChecks": true,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"noImplicitAny": false,
"noUnusedLocals": false,
"noImplicitReturns": true,
"noImplicitThis": true,
"skipLibCheck": true,
"strictPropertyInitialization": false,
"experimentalDecorators": true
},
"include": [
"./src/**/*"
],
"exclude": [
"./src/components/chart/*",
"node_modules",
"lang"
],
"files": [
"./src/vue-shim.d.ts"
],
"typeAcquisition": {
"enable": true
}
}