generated from NewFuture/miniprogram-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
39 lines (39 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
{
"compilerOptions": {
"allowJs": false,
"alwaysStrict": true,
"noEmitHelpers": true,
"importHelpers": true, // 使用tslib 代替生成
"declaration": false,
"experimentalDecorators": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSourceMap": true,
"inlineSources": true,
"listEmittedFiles": true,
"module": "CommonJS",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
// "noUnusedParameters": true,
"pretty": true,
"removeComments": false,
"strict": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"target": "es5",
"rootDir": "src/",
"baseUrl": "src" /* Base directory to resolve non-absolute module names. */,
"outDir": "dist/",
"paths": {
"/*": ["./*"],
},
"lib": ["es5", "es6"],
"types": ["miniprogram-api-typings"],
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "miniprogram_dist", "dist", "**/*.spec.ts"],
}