-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathlighthouserc.json
More file actions
52 lines (49 loc) · 1.6 KB
/
lighthouserc.json
File metadata and controls
52 lines (49 loc) · 1.6 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
51
52
{
"ci": {
"collect": {
"staticDistDir": "./build",
"numberOfRuns": 3,
"settings": {
"emulatedFormFactor": "mobile",
"throttling": {
"rttMs": 150,
"throughputKbps": 1638.4,
"cpuSlowdownMultiplier": 4
},
"screenEmulation": {
"mobile": true,
"width": 412,
"height": 915,
"deviceScaleFactor": 2.625
}
}
},
"assert": {
"assertions": {
"categories:performance": ["warn", { "minScore": 0.8 }],
"categories:accessibility": ["error", { "minScore": 0.9 }],
"categories:best-practices": ["warn", { "minScore": 0.9 }],
"categories:seo": ["warn", { "minScore": 0.9 }],
"first-contentful-paint": ["warn", { "maxNumericValue": 2000 }],
"largest-contentful-paint": ["warn", { "maxNumericValue": 2500 }],
"total-blocking-time": ["warn", { "maxNumericValue": 300 }],
"cumulative-layout-shift": ["warn", { "maxNumericValue": 0.1 }],
"interactive": ["warn", { "maxNumericValue": 3500 }],
"max-potential-fid": ["warn", { "maxNumericValue": 300 }],
"maskable-icon": "off",
"service-worker": "off",
"offline-start-url": "off",
"installable-manifest": "off",
"viewport": "error",
"font-display": "warn",
"aria-required-children": "error",
"aria-required-parent": "error",
"aria-roles": "error",
"document-title": "error",
"html-has-lang": "error",
"meta-description": "error",
"meta-viewport": "error"
}
}
}
}