mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-28 17:44:33 +03:00
40 lines
1.2 KiB
JSON
40 lines
1.2 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,
|
|
- .../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/src/isomorphic/*"],
|
|
"@trace/*": ["./packages/trace/src/*"],
|
|
"@web/*": ["./packages/web/src/*"],
|
|
"playwright-core/lib/*": ["./packages/playwright-core/src/*"],
|
|
"playwright/lib/*": ["./packages/playwright/src/*"],
|
|
},
|
|
"esModuleInterop": true,
|
|
"strict": true,
|
|
"allowJs": false,
|
|
"jsx": "preserve",
|
|
"resolveJsonModule": true,
|
|
"noEmit": true,
|
|
"noImplicitOverride": true,
|
|
"useUnknownInCatchVariables": false,
|
|
"skipLibCheck": true,
|
|
},
|
|
"compileOnSave": true,
|
|
"include": ["packages"],
|
|
"exclude": [
|
|
"packages/*/lib",
|
|
],
|
|
}
|