forked from GoogleChrome/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
107 lines (106 loc) · 4.34 KB
/
tsconfig.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"extends": "./tsconfig-base.json",
"compilerOptions": {
"resolveJsonModule": true,
},
"references": [
{"path": "./types/lhr/"},
{"path": "./report/"},
{"path": "./report/generator/"},
{"path": "./shared/"},
{"path": "./treemap/"},
],
"include": [
"cli/**/*.js",
"core/**/*.js",
"core/index.cjs",
"clients/**/*.js",
"build/**/*.js",
"./types/**/*.d.ts",
"eslint-local-rules.cjs",
"third-party/axe/valid-langs.js",
"third-party/esbuild-plugins-polyfills/esbuild-polyfills.js",
"core/test/results/sample_v2.json",
"core/test/fixtures/unresolved-perflog.json",
"core/test/fixtures/traces/lcp-m78.devtools.log.json",
"core/audits/byte-efficiency/polyfill-graph-data.json",
"shared/localization/locales/en-US.json",
],
"exclude": [
"build/test/*test-case*.js",
"build/process-global.js",
"core/test/audits/**/*.js",
"core/test/fixtures/**/*.js",
"core/test/computed/**/*.js",
"clients/lightrider/**/*.js",
"clients/test/**/*.js",
"cli/test/fixtures/**/*.js",
"core/scripts/legacy-javascript/variants",
// These test files require further changes before they can be type checked.
"core/test/config/config-helpers-test.js",
"core/test/config/config-plugin-test.js",
"core/test/config/default-config-test.js",
"core/test/gather/driver/wait-for-condition-test.js",
"core/test/gather/gatherers/accessibility-test.js",
"core/test/gather/gatherers/cache-contents-test.js",
"core/test/gather/gatherers/console-messages-test.js",
"core/test/gather/gatherers/devtools-log-test.js",
"core/test/gather/gatherers/dobetterweb/optimized-images-test.js",
"core/test/gather/gatherers/dobetterweb/response-compression-test.js",
"core/test/gather/gatherers/full-page-screenshot-test.js",
"core/test/gather/gatherers/global-listeners-test.js",
"core/test/gather/gatherers/html-without-javascript-test.js",
"core/test/gather/gatherers/js-usage-test.js",
"core/test/gather/gatherers/link-elements-test.js",
"core/test/gather/gatherers/offline-test.js",
"core/test/gather/gatherers/runtime-exceptions-test.js",
"core/test/gather/gatherers/seo/font-size-test.js",
"core/test/gather/gatherers/source-maps-test.js",
"core/test/gather/gatherers/stack-collector-test.js",
"core/test/gather/gatherers/start-url-test.js",
"core/test/gather/gatherers/trace-elements-test.js",
"core/test/gather/gatherers/viewport-dimensions-test.js",
"core/test/index-test.js",
"core/test/lib/arbitrary-equality-map-test.js",
"core/test/lib/asset-saver-test.js",
"core/test/lib/emulation-test.js",
"core/test/lib/i18n/i18n-test.js",
"core/test/lib/icons-test.js",
"core/test/lib/lh-element-test.js",
"core/test/lib/lighthouse-compatibility-test.js",
"core/test/lib/manifest-parser-test.js",
"core/test/lib/median-run-test.js",
"core/test/lib/minification-estimator-test.js",
"core/test/lib/minify-devtoolslog-test.js",
"core/test/lib/network-recorder-test.js",
"core/test/lib/network-request-test.js",
"core/test/lib/page-functions-test.js",
"core/test/lib/proto-preprocessor-test.js",
"core/test/lib/rect-helpers-test.js",
"core/test/lib/script-helpers-test.js",
"core/test/lib/sentry-test.js",
"core/test/lib/stack-packs-test.js",
"core/test/lib/statistics-test.js",
"core/test/lib/timing-trace-saver-test.js",
"core/test/lib/tracehouse/cpu-profile-model-test.js",
"core/test/lib/tracehouse/main-thread-tasks-test.js",
"core/test/lib/tracehouse/task-summary-test.js",
"core/test/lib/tracehouse/trace-processor-test.js",
"core/test/lib/traces/metrics-trace-events-test.js",
"core/test/lib/url-utils-test.js",
"core/test/network-records-to-devtools-log-test.js",
"core/test/runner-test.js",
"core/test/scoring-test.js",
"core/test/scripts/i18n/bake-ctc-to-lhl-test.js",
],
"files": [
// Opt-in to typechecking for some core tests and test-support files.
"cli/test/fixtures/static-server.js",
"core/test/audits/bf-cache-test.js",
"core/test/audits/third-party-cookies-test.js",
"core/test/audits/script-treemap-data-test.js",
"core/test/computed/metrics/interactive-test.js",
"core/test/computed/tbt-impact-tasks-test.js",
"core/test/fixtures/config-plugins/lighthouse-plugin-simple/plugin-simple.js",
],
}