-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
38 lines (38 loc) · 990 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": {
"sourceMap": false,
"alwaysStrict": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noImplicitReturns": true,
// "noUnusedLocals": true,
"downlevelIteration": true,
"strict": true,
// "strictNullChecks": true,
// "strictPropertyInitialization": true,
"noFallthroughCasesInSwitch": true,
"experimentalDecorators": true,
// NOTE:
// unlike winged core, there's no benifets for us setting @winged/cli target above "es5"
// so we just keep target to be "es5"
"target": "es5",
"rootDir": "./src",
"outDir": "./lib",
"module": "commonjs",
"moduleResolution": "node",
"newLine": "lf",
// NOTE:
// list all needed @types here
// and make sure those who installed by other npm package dosen't bother us (like @types/node)
"types": [
"typescript",
"node",
"colors",
],
"lib": [
"es2015",
"DOM"
]
},
"compileOnSave": false
}