forked from ill-inc/biomes-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
50 lines (50 loc) · 1.4 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
{
"compilerOptions": {
"allowJs": true,
"baseUrl": "./src",
"esModuleInterop": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"jsx": "preserve",
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
"module": "esnext",
"moduleResolution": "node",
"noEmit": true,
"paths": {
"@/*": ["*"],
"@/galois/*": ["galois/js/*"],
"@/wasm/cayley": ["gen/cayley/impl/wasm_nodejs"],
"public/*": ["public/*"]
},
"plugins": [{ "name": "typescript-plugin-css-modules" }],
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "es2022",
"typeRoots": ["node_modules/@types", "src/third-party/local-types"]
},
"files": ["modules.d.ts", "next-env.d.ts", "server.webpack.config.ts"],
"include": [
"deploy/**/*.ts",
"public/**/*",
"scripts/node/**/*.ts",
"src/**/*.js",
"src/**/*.json",
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"src/galois/data/**/*" // Improves compilation performance
],
"ts-node": {
"compilerOptions": {
"module": "commonjs" // you can also override compilerOptions. Only ts-node will use these overrides
},
"require": ["tsconfig-paths/register"],
"swc": true,
"transpileOnly": true // you can specify ts-node options here
}
}