-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
38 lines (38 loc) · 962 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
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
// ts 严格模式
"strict": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"sourceMap": true,
"noEmit": false,
"noEmitHelpers": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"importHelpers": true,
"strictNullChecks": false,
"allowUnreachableCode": true,
"lib": ["es2017"],
"typeRoots": ["node_modules/@types", "./typings"],
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
},
"outDir": "./build"
},
"include": [
"./config/*.ts",
"src/**/*.ts",
"src/**/*.d.ts",
"config/utils.ts"
, "src/index.ts" ],
"exclude": ["node_modules", "build", "**/*.test.ts", "test/**/*", "temp"],
"compileOnSave": true,
"buildOnSave": true
}