-
Notifications
You must be signed in to change notification settings - Fork 24
/
tsconfig.json
67 lines (67 loc) · 1.69 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Refer:
// https://www.totaltypescript.com/tsconfig-cheat-sheet
{
"compilerOptions": {
"outDir": "./build",
"lib": [
"es2023"
],
"target": "es2022",
"module": "NodeNext",
"strict": true,
"esModuleInterop": true,
"sourceMap": true,
"typeRoots": [
"./node_modules/@types",
"./node_modules/@jest"
],
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"types": [
"node"
],
"resolveJsonModule": true,
"moduleResolution": "nodenext",
"baseUrl": ".",
"paths": {
"@domain/*": ["src/domain/*"],
"@interface/*": ["src/interface/*"],
"@usecases/*": ["src/usecases/*"],
"@config/*": ["src/config/*"],
// "@mock/*": ["__mocks__/*"],
// "@cli/*": ["src/cli/*"],
// "@domain/*": ["src/domain/*"],
// "@controller/*": ["src/controller/*"],
// "@interface-adapter/*": ["src/interface-adapter/*"],
// "@usecase/*": ["src/usecase/*"],
// "@settings/*": ["src/config/*"],
// "@process/*": ["src/controller/download/process/*"],
// "@abrg-message/*": ["src/core/domain/abrg-message/*"],
// "@abrg-error/*": ["src/core/domain/abrg-error/*"]
},
"removeComments": true,
"moduleDetection": "force",
"isolatedModules": true,
"plugins": [
{
"transform": "typescript-transform-paths"
},
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
]
},
"ts-node": {
"transpileOnly": true,
"require": [
"typescript-transform-paths/register"
]
},
"include": ["src/**/*.ts" ],
"exclude": [
"node_modules",
"**/__skips__/",
"**/__skip__/",
]
}