forked from node-pinus/pinus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
40 lines (39 loc) · 1.1 KB
/
tsconfig.json
File metadata and controls
40 lines (39 loc) · 1.1 KB
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
{
"compilerOptions": {
// types option has been previously configured
"types": [
// add node as an option
"node"
],
// typeRoots option has been previously configured
"typeRoots": [
// add path to @types
"node_modules/@types"
],
"module": "commonjs", //指定生成哪个模块系统代码
"target": "es2016",
"lib": [
"es2015",
"es2016",
"esnext.asynciterable"
],
"noImplicitAny": false, //在表达式和声明上有隐含的'any'类型时报错。
"noImplicitThis": false,
"declaration": true,
"declarationDir": "./dist",
"sourceMap": true, //用于debug
"rootDirs": ["."], //仅用来控制输出的目录结构--outDir。
"outDir":"./dist", //重定向输出目录。
"experimentalDecorators":true,
"emitDecoratorMetadata": true,
"moduleResolution": "node",
"watch":false //在监视模式下运行编译器。会监视输出文件,在它们改变时重新编译。
},
"include":[
"./**/*.ts"
],
"exclude": [
"./template/**/*.*",
"./dist/**/*.*"
]
}