-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
tsconfig.json
70 lines (51 loc) · 1.82 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
68
69
70
{
"compilerOptions": {
"target": "es2021",
"module": "commonjs",
"esModuleInterop": true,
"moduleResolution": "node",
"outDir": "build",
"rootDir": "src",
"resolveJsonModule": true,
"strict": true,
"strictPropertyInitialization": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"skipLibCheck": false,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"@/decorators": ["src/utils/decorators"],
"@/decorators/*": ["src/plugins/*/utils/decorators"],
"@/errors": ["src/utils/errors"],
"@/errors/*": ["src/plugins/*/utils/errors"],
"@/entities": ["src/entities"],
"@/entities/*": ["src/plugins/*/entities"],
"@/guards": ["src/guards"],
"@/guards/*": ["src/plugins/*/guards"],
"@/services": ["src/services"],
"@/services/*": ["src/plugins/*/services"],
"@/i18n": ["src/i18n"],
"@/i18n/*": ["src/plugins/*/i18n"],
"@/configs": ["src/configs"],
"@/configs/*": ["src/plugins/*/configs"],
"@/utils/classes": ["src/utils/classes"],
"@/utils/classes/*": ["src/plugins/*/utils/classes"],
"@/utils/functions": ["src/utils/functions"],
"@/utils/functions/*": ["src/plugins/*/utils/functions"],
"@/api/controllers": ["src/api/controllers"],
"@/api/controllers/*": ["src/plugins/*/api/controllers"],
"@/api/middlewares": ["src/api/middlewares"],
"@/api/middlewares/*": ["src/plugins/*/api/middlewares"],
"@/api/server": ["src/api/server.ts"],
"@/env": ["src/utils/types/environment.ts"]
}
},
"include": ["src", "**/*.ts", "src/**/*.json"],
"exclude": ["build", "node_modules", "tests", "mikro-orm.config.ts", "package.json"],
"paths": ["node_modules/*", "src/utils/types/*", "src/plugins/*/utils/types/*"],
"ts-node": {
"require": ["tsconfig-paths/register"]
}
}