-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
26 lines (26 loc) · 1.05 KB
/
tsconfig.json
File metadata and controls
26 lines (26 loc) · 1.05 KB
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
{
"compilerOptions": {
// Use ECMAScript Modules (ESM) with Node.js compatibility.
"module": "NodeNext",
// Controls how modules are resolved. "NodeNext" enables native ESM support.
"moduleResolution": "NodeNext",
// Target ECMAScript Next to enable the latest JavaScript features.
"target": "ESNext",
// Output directory for compiled JavaScript files (only used if "noEmit" is false).
"outDir": "./dist",
// Root directory for TypeScript source files.
"rootDir": "./src",
// Enable all strict type-checking options.
"strict": true,
// Allow importing CommonJS modules in an ES module project.
"esModuleInterop": true,
// Allow importing JSON files directly as modules.
"resolveJsonModule": true,
// Skip checking declaration files in `node_modules` to speed up compilation.
"skipLibCheck": true,
// Use the specified list of type directories when resolving modules.
"typeRoots": ["./node_modules/@types", "./src/@types"]
},
"include": ["src/**/*"],
"exclude": ["drizzle.config.ts"]
}