-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
35 lines (33 loc) · 1.09 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
{
"compilerOptions": {
"baseUrl": "./packages",
"paths": {
"@gltf-transform/core": ["./packages/core/"],
"@gltf-transform/extensions": ["./packages/extensions/"],
"@gltf-transform/functions": ["./packages/functions/"],
"@gltf-transform/cli": ["./packages/cli/"],
"@gltf-transform/test-utils": ["./packages/test-utils/"]
},
"esModuleInterop": true,
"moduleResolution": "Node",
"lib": ["es2020", "dom"],
"target": "ESNext",
"module": "CommonJS",
"declaration": true,
"stripInternal": true,
"typeRoots": ["node_modules/@types"],
// Components of "strict" mode.
"alwaysStrict": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"noImplicitThis": true,
// Certain rules (noImplicitAny, strictNullChecks, strictPropertyInitialization)
// are tightend by sub-package tsconfig. Global tsconfig affects unit tests, and
// I consider those rules too strict for unit tests.
},
"include": [
"packages/*/src/**/*.ts",
// Included to allow TypeDoc to find `pages.ts` content.
"docs/*.ts"
]
}