-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtsconfig.server.json
65 lines (65 loc) · 1.98 KB
/
tsconfig.server.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
{
"compilerOptions": {
"outDir": "./dist",
"target": "es6",
"module": "commonjs",
"jsx": "react-jsx",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"removeComments": true,
"declaration": true,
"sourceMap": true,
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
//
"lib": ["esnext", "dom"],
"typeRoots": ["./src/types", "node_modules/@types"],
// "strictNullChecks": true,
"rootDir": "./",
"inlineSources": true,
"sourceRoot": "/",
"baseUrl": "./",
"paths": {
"@/*": ["src/*"],
"@config": ["src/config/index.ts"],
"@config/*": ["src/config/*"],
"@controllers/*": ["src/server/controllers/*"],
"@components/*": ["src/server/views/pages/components/*"],
"@infra/*": ["src/server/infra/*"],
"@lib/*": ["src/lib/*"],
"@models/*": ["src/server//models/*"],
"@modules/*": ["src/server/modules/*"],
"@node_modules/*": ["node_modules/*"],
"@schedulers/*": ["src/server/schedulers/*"],
"@services/*": ["src/server/services/*"],
"@views": ["src/server/views/index.ts"],
"@views/*": ["src/server/views/*"],
"@db": ["src/server/db/index.ts"],
"@db/*": ["src/server/db/*"],
"@betagouv": ["src/server/betagouv.ts"]
},
"plugins": [
{
"transform": "typescript-transform-paths"
}
]
},
"exclude": [
"node_modules",
"**/*.tsx",
"static",
// "**/*.d.ts",
"migrations",
"src/app",
"src/components",
"src/providers",
"__tests__",
"models",
"src/lib",
"knexfile.js",
"dist"
]
}