-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
23 lines (23 loc) · 779 Bytes
/
Copy pathtsconfig.json
File metadata and controls
23 lines (23 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ES2022"],
"types": ["node"],
"strict": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "./dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true
},
// Only src/ is compiled: tests run straight from .ts via tsx (no build step,
// see "test" script) and benchmarks/ is its own workspace. Keeping this
// include list to src/ only is also what keeps dist/ flat (dist/index.js,
// not dist/src/index.js) since tsc infers rootDir from the include set.
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "tests", "benchmarks"]
}