forked from karlprieb/babel-plugin-add-import-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
55 lines (55 loc) · 1.34 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
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"alwaysStrict": true,
"baseUrl": ".",
"checkJs": false,
// ? Only for Next.js
// "jsx": "preserve",
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSourceMap": true,
"incremental": true,
"isolatedModules": true,
"lib": ["ESNext"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noEmit": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"paths": {
// ! If changed, also update these aliases in babel.config.js,
// ! webpack.config.js, next.config.ts, eslintrc.js, and jest.config.js
"externals/*": ["external-scripts/*"],
"multiverse/*": ["lib/*"],
"package": ["package.json"],
"pkgverse/*": ["packages/*"],
"testverse/*": ["test/*"],
"types/*": ["types/*"],
"universe/*": ["src/*"]
},
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "ESNext"
},
"exclude": [
"**/node_modules",
"**/coverage",
"**/dist",
"**/bin",
"**/build",
"**/test/fixtures",
"**/test/integration/assets"
],
"include": [
"types/**/*",
"lib/**/*",
"src/**/*",
"test/**/*",
"external-scripts/**/*",
"packages/**/*"
]
}