-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
34 lines (34 loc) · 968 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
{
"compilerOptions": {
"forceConsistentCasingInFileNames": true,
"target": "ESNext",
"useDefineForClassFields": true,
"allowSyntheticDefaultImports": true,
"module": "ESNext",
"moduleResolution": "Node",
"strict": true,
"jsx": "preserve",
"sourceMap": false,
"resolveJsonModule": true,
"esModuleInterop": true,
"paths": {
"@/*": ["./*"]
},
// // 导出声明
// "declaration": true,
// // 导出声明目录
// "declarationDir": "./build",
"outDir": "./build",
"rootDir": "./src",
// 如果指定,则只有列出的包才会包含在全局作用域中
// "types": ["node", "jest", "@dcloudio/types"],
"lib": ["esnext", "dom"]
},
"include": ["./src/**/*.ts", "./src/*.ts"],
"exclude": ["./test/**/*", "./build/**/*", "./node_modules/**/*"],
// typeDoc https://typedoc.org/
"typedocOptions": {
"entryPoints": ["./index.ts"],
"out": "dist/lj-utils"
}
}