-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlighthouserc.json
More file actions
42 lines (42 loc) · 1.14 KB
/
lighthouserc.json
File metadata and controls
42 lines (42 loc) · 1.14 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
{
"ci": {
"collect": {
"numberOfRuns": 3,
"startServerCommand": "pnpm preview:lhci",
"startServerReadyPattern": "Local:",
"startServerReadyTimeout": 30000,
"url": [
"http://127.0.0.1:4173/",
"http://127.0.0.1:4173/finyk",
"http://127.0.0.1:4173/fizruk",
"http://127.0.0.1:4173/routine",
"http://127.0.0.1:4173/nutrition"
],
"settings": {
"preset": "desktop",
"onlyCategories": ["performance"],
"skipAudits": ["uses-http2", "redirects-http"],
"chromeFlags": "--no-sandbox --disable-dev-shm-usage"
}
},
"assert": {
"assertions": {
"largest-contentful-paint": [
"error",
{ "maxNumericValue": 3000, "aggregationMethod": "median-run" }
],
"first-contentful-paint": [
"error",
{ "maxNumericValue": 1500, "aggregationMethod": "median-run" }
],
"total-blocking-time": [
"error",
{ "maxNumericValue": 200, "aggregationMethod": "median-run" }
]
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}