-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.lighthouserc.json
More file actions
30 lines (30 loc) · 1017 Bytes
/
.lighthouserc.json
File metadata and controls
30 lines (30 loc) · 1017 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
25
26
27
28
29
30
{
"ci": {
"collect": {
"staticDistDir": "./astro-site/dist",
"url": [
"http://localhost/index.html",
"http://localhost/about/index.html",
"http://localhost/posts/index.html",
"http://localhost/now/index.html"
],
"numberOfRuns": 1
},
"assert": {
"assertions": {
"categories:performance": ["warn", {"minScore": 0.8}],
"categories:accessibility": ["error", {"minScore": 0.9}],
"categories:best-practices": ["error", {"minScore": 0.9}],
"categories:seo": ["error", {"minScore": 0.85}],
"first-contentful-paint": ["warn", {"maxNumericValue": 2000}],
"largest-contentful-paint": ["warn", {"maxNumericValue": 4000}],
"cumulative-layout-shift": ["warn", {"maxNumericValue": 0.1}],
"total-blocking-time": ["warn", {"maxNumericValue": 500}],
"speed-index": ["warn", {"maxNumericValue": 5000}]
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}