-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtsconfig.json
More file actions
58 lines (55 loc) · 2.27 KB
/
Copy pathtsconfig.json
File metadata and controls
58 lines (55 loc) · 2.27 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"compilerOptions": {
"target": "ES2020",
"experimentalDecorators": true,
"useDefineForClassFields": false,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"paths": {
"@/*": ["./packages/app/src/*"],
"@components/*": ["./packages/app/src/components/*"],
"@core/*": ["./packages/app/src/core/*"],
"@wdio/devtools-shared": ["./packages/shared/src/index.ts"],
"@wdio/devtools-shared/*": ["./packages/shared/src/*"],
"@wdio/devtools-core": ["./packages/core/src/index.ts"],
"@wdio/devtools-core/*": ["./packages/core/src/*"],
"@wdio/elements": ["./packages/elements/src/index.ts"],
"@wdio/elements/*": ["./packages/elements/src/*"],
"@wdio/devtools-backend": ["./packages/backend/src/index.ts"],
"@wdio/devtools-backend/*": ["./packages/backend/src/*"],
"@wdio/devtools-script": ["./packages/script/src/index.ts"],
"@wdio/devtools-script/*": ["./packages/script/src/*"],
"@wdio/devtools-service": ["./packages/service/src/index.ts"],
"@wdio/devtools-service/*": ["./packages/service/src/*"],
"@wdio/selenium-devtools": ["./packages/selenium-devtools/src/index.ts"],
"@wdio/selenium-devtools/*": ["./packages/selenium-devtools/src/*"]
}
},
// This file is both the `extends` base for every package config and, run
// directly, the repo-wide type gate. `exclude` replaces the default, so
// node_modules is re-listed; there is deliberately no `include`, because an
// inherited one resolves against *this* directory and would make every
// extending package config sweep the whole repo.
"exclude": [
"node_modules",
// Emitted .d.ts, so the gate's result would otherwise depend on whether
// `pnpm build` had run.
"**/dist",
// Each has its own project: both need runner globals (mocha,
// expect-webdriverio, @wdio/globals) that no other program may see.
"packages/app/test-ui",
"examples"
]
}