-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy path.lighthouserc.json
More file actions
24 lines (24 loc) · 913 Bytes
/
.lighthouserc.json
File metadata and controls
24 lines (24 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"ci": {
"collect": {
"numberOfRuns": 2,
"settings": { "preset": "desktop", "formFactor": "desktop" }
},
"assert": {
"assertions": {
"categories:performance": ["error", { "minScore": 0.55 }],
"largest-contentful-paint": ["error", { "maxNumericValue": 3500 }],
"cumulative-layout-shift": ["error", { "maxNumericValue": 0.1 }],
"total-blocking-time": ["error", { "maxNumericValue": 450 }]
},
"baselinePerformanceMetrics": {
"description": "Baseline Lighthouse metrics used to derive the assertion thresholds above. Update these values when the application's performance characteristics change.",
"largest-contentful-paint-ms": 3500,
"cumulative-layout-shift": 0.1,
"total-blocking-time-ms": 450,
"performance-score": 0.55
}
},
"upload": { "target": "temporary-public-storage" }
}
}