-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
48 lines (48 loc) · 1.1 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
{
"compilerOptions": {
"target": "es6",
"composite": true,
"module": "esnext",
"moduleResolution": "node",
"outDir": "dist",
"rootDir": "src",
"strict": true,
"strictNullChecks": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"esModuleInterop": true,
"skipLibCheck": false,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"lib": ["es6", "es2021.promise", "dom"],
"typeRoots": ["./node_modules/@types", "./@types"],
"paths": {
"@dist/*": ["./dist/*"],
"@exports/*": ["./src/exports/*"],
"~/*": ["./src/*"],
"@test/*": ["./test/*"],
"~trusted/*": ["./src/trusted/*"],
"~untrusted/*": ["./src/untrusted/*"]
},
"plugins": [
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
],
"declaration": true,
"allowJs": true,
"checkJs": false
},
"ts-node": {
"experimentalResolver": true
},
"references": [
{ "path": "src/trusted" },
{ "path": "src/types" },
{ "path": "src/untrusted" }
],
"include": ["src/*", "src/exports/**/*"],
"exclude": ["node_modules", "build", "dist"],
"types": ["node"]
}