-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtsconfig.json
75 lines (75 loc) · 2.31 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
71
72
73
74
75
{
"compilerOptions": {
"noErrorTruncation": true,
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"noImplicitAny": false,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@config": ["src/server/config/index.ts"],
"@config/*": ["src/server/config/*"],
"@controllers/*": ["./src/server/controllers/*"],
"@components/*": ["./src/server/views/pages/components/*"],
"@infra/*": ["./src/server/infra/*"],
"@lib/*": ["src/lib/*"],
"@utils/*": ["src/utils/*"],
"@models/*": ["./src/server/models/*"],
"@modules/*": ["./src/server/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": [
{
"name": "next"
},
{
"name": "typescript-plugin-css-modules"
}
]
},
"ts-node": {
"require": ["tsconfig-paths/register"],
"files": true,
"transpileOnly": true,
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "commonjs",
"target": "es6",
"jsx": "react-jsx"
},
"plugins": [
{
"transform": "typescript-transform-paths"
},
{
"name": "typescript-plugin-css-modules"
}
]
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
"types.d.ts",
".next/types/**/*.ts"
],
"exclude": ["node_modules", "build", "dist", ".next"]
}