playwright/tsconfig.json
2022-04-26 16:15:08 -07:00

38 lines
1006 B
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-svelte",
"packages/playwright-ct-vue",
"packages/recorder",
"packages/trace-viewer",
"packages/web",
],
}