-
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) · 996 Bytes
/
Copy pathtsconfig.json
File metadata and controls
26 lines (26 loc) · 996 Bytes
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": {
"target": "ES2020", // modern JS target
"module": "CommonJS", // ts-node uses CommonJS
"lib": ["ES2020", "DOM"], // DOM needed for Playwright types
"strict": true, // enable strict type checking
"esModuleInterop": true, // allows 'import x from ...'
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"typeRoots": [
"./node_modules/@types",
"./src/types"
], // skip type checks for external JS libs
"outDir": "dist", // compiled output (optional)
"rootDir": "src", // your source folder
"resolveJsonModule": true // allows import .json files
},
"include": [
"src/**/*", // include all TS files in src
"src/types/**/*.d.ts" // include your custom types
],
"exclude": [
"node_modules",
"dist"
]
}