-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathtsconfig.monorepo.json
29 lines (23 loc) · 1.07 KB
/
tsconfig.monorepo.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
// This is a TypeScript configuration intended to be used by packages in this monorepo.
{
"$schema": "https://raw.githubusercontent.com/complete-ts/complete/main/packages/complete-tsconfig/schemas/tsconfig-strict-schema.json",
// https://www.typescriptlang.org/docs/handbook/compiler-options.html
"compilerOptions": {
"rootDir": ".",
"baseUrl": ".",
// Performance optimization; see: https://www.npmjs.com/package/tslib
"importHelpers": true,
// "target" specifies the ECMAScript target version. By default, it is "ES3". This is too
// conservative; the project targets browsers / Node.js within a 2 year time-frame.
"target": "ES2021",
// "resolveJsonModule" is required to import files with ".json" extensions. By default, it is
// false.
"resolveJsonModule": true,
// Specifying "Node" is necessary in order for JSON files to be imported without erroring.
"moduleResolution": "Node",
"paths": {
"@hanabi-live/data": ["./packages/data/src/index.ts"],
"@hanabi-live/game": ["./packages/game/src/index.ts"],
},
},
}