playwright/tsconfig.json

39 строки
1.0 KiB
JSON

{
"compilerOptions": {
"target": "ES2019",
"module": "commonjs",
"lib": ["esnext", "dom", "DOM.Iterable"],
"baseUrl": ".",
"paths": {
/*
The following two serve different purposes:
- @playwright-core is for importing types only,
- playwright-core/lib means require dependency
*/
"@playwright-core/*": ["./packages/playwright-core/src/*"],
"playwright-core/lib/*": ["./packages/playwright-core/src/*"]
},
"esModuleInterop": true,
"strict": true,
"allowJs": true,
"jsx": "react",
"resolveJsonModule": true,
"noEmit": true,
"noImplicitOverride": true,
"useUnknownInCatchVariables": false,
},
"compileOnSave": true,
"include": ["packages"],
"exclude": [
"packages/*/lib",
"packages/html-reporter",
"packages/playwright-ct-react",
"packages/playwright-ct-solid",
"packages/playwright-ct-svelte",
"packages/playwright-ct-vue",
"packages/recorder",
"packages/trace-viewer",
"packages/web",
],
}