-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
38 lines (38 loc) · 1.06 KB
/
tsconfig.json
File metadata and controls
38 lines (38 loc) · 1.06 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
{
"compilerOptions": {
"target": "ES6",
"allowJs": true,
"module": "commonjs",
"lib": ["es6"],
"rootDirs": ["src", "dist"],
"esModuleInterop": true,
"moduleResolution": "node",
"baseUrl": "./src",
"outDir": "./dist",
"strict": true,
"paths": {
"@/*": ["./*"],
"@configs/*": ["./configs/*"],
"@constants/*": ["./constants/*"],
"@controllers/*": ["./controllers/*"],
"@database/*": ["./database/*"],
"@dto/*": ["./dto/*"],
"@middlewares/*": ["./middlewares/*"],
"@repositories/*": ["./repositories/*"],
"@routes/*": ["./routes/*"],
"@services/*": ["./services/*"],
"@utils/*": ["./utils/*"]
},
"incremental": true,
"plugins": [
{ "transform": "typescript-transform-paths" },
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
},
"include": ["./src/**/*"],
"exclude": ["node_modules", "dist", "jest.config.ts"],
"ts-node": {
"transpileOnly": true,
"require": ["typescript-transform-paths/register"]
}
}