forked from wechaty/puppet-lark
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtsconfig.json
More file actions
74 lines (69 loc) · 1.94 KB
/
Copy pathtsconfig.json
File metadata and controls
74 lines (69 loc) · 1.94 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"compilerOptions": {
"outDir": "dist/esm",
"allowSyntheticDefaultImports": true,
"verbatimModuleSyntax": false,
"lib": [
"dom",
"esnext",
],
/**
* ES Module support
*/
"target": "esnext",
// ES Modules: https://www.typescriptlang.org/tsconfig#module
// https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#esm-nodejs
// "module": "nodenext",
"module": "esnext",
// https://www.typescriptlang.org/tsconfig#moduleResolution
// "moduleResolution": "nodenext",
"moduleResolution": "node",
/**
* Other settings
*/
"traceResolution" : false,
"noLib" : false,
"resolveJsonModule" : false,
"declaration" : true,
"declarationMap" : true,
"sourceMap" : true,
"skipLibCheck" : true,
"esModuleInterop" : true,
"emitDecoratorMetadata" : true,
"experimentalDecorators" : true,
"strict" : true,
"noEmitOnError" : true,
"noUnusedLocals" : true,
"noImplicitReturns" : true,
"noImplicitOverride" : true,
"noUncheckedIndexedAccess" : true,
"noPropertyAccessFromIndexSignature": true,
"noFallthroughCasesInSwitch" : true,
"strictNullChecks" : true,
"noImplicitAny" : true,
"noUnusedParameters" : true,
"noImplicitThis" : true,
"forceConsistentCasingInFileNames": true,
},
"ts-node": {
// It is faster to skip typechecking.
// Remove if you want ts-node to do typechecking.
"transpileOnly": true,
"transpiler": "ts-node/transpilers/swc-experimental",
},
"exclude": [
"node_modules/",
"dist/",
"tests/fixtures/",
],
"include": [
"app/**/*.ts",
"bin/*.ts",
"bot/**/*.ts",
"examples/**/*.ts",
"scripts/**/*.ts",
"src/**/*.ts",
"src/wechaty-bro.js",
"tests/**/*.spec.ts",
],
}