-
Notifications
You must be signed in to change notification settings - Fork 4
/
tsconfig.json
39 lines (39 loc) · 1.04 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
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"baseUrl": ".",
"paths": {
"@features/*": ["src/features/*"],
"@styles/*": ["src/styles/*"],
"@test-utils": ["test-utils/index.ts"]
},
"types": ["@types/jest", "@testing-library/jest-dom"]
},
// TODO: remove when cypress issue with moduleResolution has been resolved
// https://github.com/cypress-io/cypress/issues/27448
"ts-node": {
"compilerOptions": {
"module": "esnext",
"moduleResolution": "node"
}
},
"include": ["next-env.d.ts", "global.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules", "cypress", "cypress.config.ts"]
}