forked from StellarLend/Stellarlend-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlighthouserc.json
More file actions
50 lines (50 loc) · 1.57 KB
/
Copy pathlighthouserc.json
File metadata and controls
50 lines (50 loc) · 1.57 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
43
44
45
46
47
48
49
50
{
"ci": {
"collect": {
"numberOfRuns": 3,
"settings": {
"chromeFlags": "--no-sandbox --disable-dev-shm-usage"
}
},
"assert": {
"assertions": {
"categories:performance": ["error", {"minScore": 0.6}],
"categories:accessibility": ["error", {"minScore": 0.9}],
"categories:best-practices": ["warn", {"minScore": 0.8}],
"categories:seo": ["warn", {"minScore": 0.8}],
"first-contentful-paint": ["warn", {"maxNumericValue": 2000}],
"largest-contentful-paint": ["error", {"maxNumericValue": 3500}],
"cumulative-layout-shift": ["error", {"maxNumericValue": 0.1}],
"total-blocking-time": ["error", {"maxNumericValue": 400}],
"total-byte-weight": ["warn", {"maxNumericValue": 700000}]
},
"budgets": [
{
"path": "/dashboard",
"resourceSizes": [
{"resourceType": "total", "budget": 700},
{"resourceType": "script", "budget": 350},
{"resourceType": "image", "budget": 150}
],
"timings": [
{"metric": "interactive", "budget": 5000},
{"metric": "first-meaningful-paint", "budget": 2500}
]
},
{
"path": "/lending",
"resourceSizes": [
{"resourceType": "total", "budget": 600},
{"resourceType": "script", "budget": 300}
],
"timings": [
{"metric": "interactive", "budget": 4500}
]
}
]
},
"upload": {
"target": "temporary-public-storage"
}
}
}