-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
58 lines (58 loc) · 1.63 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
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"alwaysStrict": true,
"baseUrl": ".",
"checkJs": false,
// ? Only for Next.js
"jsx": "preserve",
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"inlineSourceMap": true,
"isolatedModules": true,
"lib": [
"ESNext",
"DOM",
//"WebWorker.ImportScripts",
"DOM.Iterable"
],
"module": "esnext",
"moduleResolution": "node",
"noEmit": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"paths": {
// ! If changed, also update these aliases in jest.config.js,
// ! webpack.config.js, and .eslintrc.js
"externals/*": ["external-scripts/*"],
"multiverse/*": ["lib/*"],
"package": ["package.json"],
"pkgverse/*": ["packages/*"],
"testverse/*": ["test/*"],
"types/*": ["types/*"],
"universe/*": ["src/*"],
// ? These are used at various points (including at compile time by
// ? Next.js) to get mongo schema configuration and/or test dummy data.
// ! Must be defined if using @xunnamius/mongo-schema
"configverse/get-schema-config": ["src/backend/db.ts"],
// ! Must be defined if using @xunnamius/mongo-test
"configverse/get-dummy-data": ["test/db.ts"]
},
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "esnext"
},
"exclude": ["node_modules"],
"include": [
"types/**/*",
"lib/**/*",
"src/**/*",
"test/**/*",
"external-scripts/**/*",
"packages/**/*"
]
}