mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2019",
|
|
"module": "commonjs",
|
|
"lib": ["esnext", "dom", "DOM.Iterable"],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
/*
|
|
The following two serve different purposes:
|
|
- @foo is for importing types only,
|
|
- foo/lib means require dependency
|
|
*/
|
|
"@html-reporter/*": ["./packages/html-reporter/src/*"],
|
|
"@injected/*": ["./packages/playwright-core/src/server/injected/*"],
|
|
"@isomorphic/*": ["./packages/playwright-core/src/utils/isomorphic/*"],
|
|
"@protocol/*": ["./packages/protocol/src/*"],
|
|
"@recorder/*": ["./packages/recorder/src/*"],
|
|
"@testIsomorphic/*": ["./packages/playwright-test/src/isomorphic/*"],
|
|
"@trace/*": ["./packages/trace/src/*"],
|
|
"@web/*": ["./packages/web/src/*"],
|
|
"playwright-core/lib/*": ["./packages/playwright-core/src/*"],
|
|
},
|
|
"esModuleInterop": true,
|
|
"strict": true,
|
|
"allowJs": false,
|
|
"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-react17",
|
|
"packages/playwright-ct-solid",
|
|
"packages/playwright-ct-svelte",
|
|
"packages/playwright-ct-vue",
|
|
"packages/playwright-ct-vue2",
|
|
"packages/web",
|
|
],
|
|
}
|