-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
48 lines (48 loc) · 1.75 KB
/
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
39
40
41
42
43
44
45
46
47
48
{
"extends": "@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"module": "Node16",
"moduleResolution": "Node16",
"target": "ES2022",
/* Whenever incremental compilation is enabled */
"incremental": true,
/* File containing saved information about incremental compilation */
"tsBuildInfoFile": "./cache/tsc.json",
/* Whenever sourcemaps should be made for emitted JavaScript files */
"sourceMap": true,
/* Whenever to emit declaration files */
"declaration": true,
/* Directory in which are placed all emitted files */
"outDir": "./dist",
/* Directory in which are placed declaration files */
"declarationDir": "./types",
/* Whenever comments are removed from emitted files */
"removeComments": false,
/* Use `tslib` for import helpers. */
"importHelpers": true,
/* Enforce consistent casing for imported module names */
"forceConsistentCasingInFileNames": true,
/* Use *nix end-of-line character for emitted files */
"newLine": "lf",
/* Do not emit anything when there's an error in source files */
"noEmitOnError": true,
/* Emit ECMAScript classes, even with `target < ES2022` */
"useDefineForClassFields": true,
/* Disable module elision behaviour, banning entirely ESM syntax in CJS. */
"verbatimModuleSyntax": false,
/* Emit regular enums for compatibility with 'isolatedModules' and JS. */
"preserveConstEnums": true,
"paths": {
"#T/*": ["./sources/transport/*.ts"],
"#C/*": ["./sources/common/*.ts"]
}
},
"files": [
"./sources/common/packet.ts",
"./sources/common/protocol.ts",
"./sources/common/server.ts",
"./sources/transport/ipc.ts",
"./sources/transport/websocket.ts",
"./sources/main.ts"
]
}