-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
50 lines (50 loc) · 1.49 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
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs",
"lib": ["DOM", "ES2015"],
"baseUrl": ".",
"outDir": "./build",
"rootDir": "src",
"strict": true,
"noImplicitAny": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"moduleResolution": "node",
"esModuleInterop": true,
"sourceMap": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"pretty": true,
"resolveJsonModule": true,
"plugins": [
{
"transform": "typescript-transform-paths"
},
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
],
"paths": {
"@/auth/*": ["src/features/auth/*"],
"@/user/*": ["src/features/user/*"],
"@/post/*": ["src/features/post/*"],
"@/reaction/*": ["src/features/reaction/*"],
"@/comment/*": ["src/features/comment/*"],
"@/follower/*": ["src/features/follower/*"],
"@/notification/*": ["src/features/notification/*"],
"@/image/*": ["src/features/image/*"],
"@/chat/*": ["src/features/chat/*"],
"@/global/*": ["src/shared/global/*"],
"@/service/*": ["src/shared/services/*"],
"@/socket/*": ["src/shared/sockets/*"],
"@/worker/*": ["src/shared/workers/*"],
"@/root/*": ["src/*"] // always in last
}
},
"exclude": ["./jest.config.ts"],
"include": ["src/**/*", "src/**/*.ejs"]
}