forked from kellymusk/Aframp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlighthouserc.json
More file actions
46 lines (44 loc) · 1.55 KB
/
Copy pathlighthouserc.json
File metadata and controls
46 lines (44 loc) · 1.55 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
{
"ci": {
"collect": {
"numberOfRuns": 3,
"url": [
"http://localhost:3000",
"http://localhost:3000/onramp",
"http://localhost:3000/dashboard"
],
"settings": {
"chromeFlags": "--no-sandbox --disable-dev-shm-usage",
"throttlingMethod": "simulate",
"formFactor": "desktop",
"screenEmulation": {
"mobile": false,
"width": 1350,
"height": 940,
"deviceScaleFactor": 1,
"disabled": false
}
}
},
"assert": {
"assertions": {
"categories:performance": ["error", { "minScore": 0.9 }],
"categories:accessibility": ["error", { "minScore": 0.9 }],
"categories:best-practices": ["error", { "minScore": 0.9 }],
"categories:seo": ["error", { "minScore": 0.9 }],
"cumulative-layout-shift": ["error", { "maxNumericValue": 0.1 }],
"largest-contentful-paint": ["error", { "maxNumericValue": 2500 }],
"total-blocking-time": ["error", { "maxNumericValue": 300 }],
"first-contentful-paint": ["error", { "maxNumericValue": 1800 }],
"document-title": ["error", { "minScore": 1 }],
"meta-description": ["error", { "minScore": 1 }],
"html-has-lang": ["error", { "minScore": 1 }],
"image-alt": ["error", { "minScore": 1 }],
"button-name": ["error", { "minScore": 1 }]
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}