forked from organicghemp/mota
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
116 lines (114 loc) · 5.82 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
108
109
110
111
112
113
114
115
116
{
"extends": "./tsconfig-base.json",
"compilerOptions": {
"outDir": ".tmp/tsbuildinfo/",
// TODO(esmodules): included to support require('file.json'). Remove on the switch to ES Modules.
"resolveJsonModule": true,
},
"references": [
{"path": "./types/lhr/"},
{"path": "./report/"},
{"path": "./report/generator/"},
{"path": "./shared/"},
],
"include": [
"root.js",
"lighthouse-cli/**/*.js",
"lighthouse-core/**/*.js",
"clients/**/*.js",
"build/**/*.js",
"./types/**/*.d.ts",
"eslint-local-rules.js",
// TODO(esmodules): JSON files included via resolveJsonModule. Removable on the switch to ES Modules.
"package.json",
"lighthouse-core/test/results/sample_v2.json",
"lighthouse-core/lib/sd-validation/assets/*.json",
"lighthouse-core/test/fixtures/unresolved-perflog.json",
"lighthouse-core/test/fixtures/traces/lcp-m78.devtools.log.json",
"third-party/snyk/snapshot.json",
"lighthouse-core/audits/byte-efficiency/polyfill-graph-data.json",
"shared/localization/locales/en-US.json",
],
"exclude": [
"lighthouse-core/test/audits/**/*.js",
"lighthouse-core/test/fixtures/**/*.js",
"lighthouse-core/test/computed/**/*.js",
"clients/test/**/*.js",
"lighthouse-cli/test/fixtures/**/*.js",
"lighthouse-core/scripts/legacy-javascript/variants",
"lighthouse-core/test/chromium-web-tests/webtests",
// These test files require further changes before they can be type checked.
"lighthouse-core/test/config/budget-test.js",
"lighthouse-core/test/config/config-helpers-test.js",
"lighthouse-core/test/config/config-plugin-test.js",
"lighthouse-core/test/config/config-test.js",
"lighthouse-core/test/config/default-config-test.js",
"lighthouse-core/test/create-test-trace.js",
"lighthouse-core/test/gather/devtools-log-test.js",
"lighthouse-core/test/gather/driver/wait-for-condition-test.js",
"lighthouse-core/test/gather/gatherers/accessibility-test.js",
"lighthouse-core/test/gather/gatherers/cache-contents-test.js",
"lighthouse-core/test/gather/gatherers/console-messages-test.js",
"lighthouse-core/test/gather/gatherers/dobetterweb/optimized-images-test.js",
"lighthouse-core/test/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste-test.js",
"lighthouse-core/test/gather/gatherers/dobetterweb/response-compression-test.js",
"lighthouse-core/test/gather/gatherers/dobetterweb/tags-blocking-first-paint-test.js",
"lighthouse-core/test/gather/gatherers/full-page-screenshot-test.js",
"lighthouse-core/test/gather/gatherers/global-listeners-test.js",
"lighthouse-core/test/gather/gatherers/html-without-javascript-test.js",
"lighthouse-core/test/gather/gatherers/js-usage-test.js",
"lighthouse-core/test/gather/gatherers/link-elements-test.js",
"lighthouse-core/test/gather/gatherers/offline-test.js",
"lighthouse-core/test/gather/gatherers/runtime-exceptions-test.js",
"lighthouse-core/test/gather/gatherers/seo/font-size-test.js",
"lighthouse-core/test/gather/gatherers/service-worker-test.js",
"lighthouse-core/test/gather/gatherers/source-maps-test.js",
"lighthouse-core/test/gather/gatherers/stack-collector-test.js",
"lighthouse-core/test/gather/gatherers/start-url-test.js",
"lighthouse-core/test/gather/gatherers/trace-elements-test.js",
"lighthouse-core/test/gather/gatherers/viewport-dimensions-test.js",
"lighthouse-core/test/index-test.js",
"lighthouse-core/test/lib/arbitrary-equality-map-test.js",
"lighthouse-core/test/lib/asset-saver-test.js",
"lighthouse-core/test/lib/dependency-graph/base-node-test.js",
"lighthouse-core/test/lib/dependency-graph/simulator/connection-pool-test.js",
"lighthouse-core/test/lib/dependency-graph/simulator/dns-cache-test.js",
"lighthouse-core/test/lib/dependency-graph/simulator/network-analyzer-test.js",
"lighthouse-core/test/lib/dependency-graph/simulator/simulator-test.js",
"lighthouse-core/test/lib/emulation-test.js",
"lighthouse-core/test/lib/i18n/i18n-test.js",
"lighthouse-core/test/lib/icons-test.js",
"lighthouse-core/test/lib/lh-element-test.js",
"lighthouse-core/test/lib/manifest-parser-test.js",
"lighthouse-core/test/lib/median-run-test.js",
"lighthouse-core/test/lib/minification-estimator-test.js",
"lighthouse-core/test/lib/minify-devtoolslog-test.js",
"lighthouse-core/test/lib/minify-trace-test.js",
"lighthouse-core/test/lib/network-recorder-test.js",
"lighthouse-core/test/lib/network-request-test.js",
"lighthouse-core/test/lib/page-functions-test.js",
"lighthouse-core/test/lib/proto-preprocessor-test.js",
"lighthouse-core/test/lib/rect-helpers-test.js",
"lighthouse-core/test/lib/sd-validation-test.js",
"lighthouse-core/test/lib/sentry-test.js",
"lighthouse-core/test/lib/stack-packs-test.js",
"lighthouse-core/test/lib/statistics-test.js",
"lighthouse-core/test/lib/timing-trace-saver-test.js",
"lighthouse-core/test/lib/tracehouse/cpu-profile-model-test.js",
"lighthouse-core/test/lib/tracehouse/main-thread-tasks-test.js",
"lighthouse-core/test/lib/tracehouse/trace-processor-test.js",
"lighthouse-core/test/lib/traces/pwmetrics-events-test.js",
"lighthouse-core/test/lib/url-shim-test.js",
"lighthouse-core/test/network-records-to-devtools-log-test.js",
"lighthouse-core/test/runner-test.js",
"lighthouse-core/test/scoring-test.js",
"lighthouse-core/test/scripts/i18n/bake-ctc-to-lhl-test.js",
"lighthouse-core/test/scripts/i18n/collect-strings-test.js",
],
"files": [
// Opt-in to typechecking for some core tests and test-support files.
"lighthouse-core/test/audits/script-treemap-data-test.js",
"lighthouse-cli/test/fixtures/static-server.js",
"lighthouse-core/test/fixtures/config-plugins/lighthouse-plugin-simple/plugin-simple.js",
],
}