-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
60 lines (60 loc) · 1.84 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
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"noEmit": true,
"incremental": true,
"module": "NodeNext",
"esModuleInterop": true,
"moduleResolution": "nodenext",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"plugins": [
{
"name": "next"
},
{ "name": "typescript-plugin-css-modules" }
],
"baseUrl": ".",
"strictNullChecks": true,
"paths": {
"@/lib/*": ["lib/*"],
"@/api/*": ["lib/api/*"],
"@/charts/*": ["charts/*"],
"@/components/*": ["components/*"],
"@/content-blocks": ["components/content-blocks"],
"@/dynamic/*": ["components/dynamic/*"],
"@/factories/*": ["components/factories/*"],
"@/atomic/*": ["components/atomic/*"],
"@/layout/*": ["components/layout/*"],
"@/templates/*": ["components/templates/*"],
"@/global/*": ["components/global/*"],
"@/page/*": ["components/page/*"],
"@/shapes/*": ["components/shapes/*"],
"@/hooks/*": ["hooks/*"],
"@/hooks": ["hooks"],
"@/contexts/*": ["contexts/*"],
"@/styles/*": ["theme/styles/*"],
"@/svg/*": ["components/svg/*"],
"@/helpers": ["helpers"],
"@/helpers/*": ["helpers/*"],
"@/hoc/*": ["components/hoc/*"]
},
"types": ["cypress", "node"]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"],
// Old "moduleResolution": "Node" option required for Cypress
// https://github.com/cypress-io/cypress/issues/26308#issuecomment-1663592648
//
// TODO: Remove when issue is resolved https://github.com/cypress-io/cypress/issues/27448
"ts-node": {
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Node"
}
}
}