-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.lighthouserc.json
More file actions
52 lines (52 loc) · 1.58 KB
/
.lighthouserc.json
File metadata and controls
52 lines (52 loc) · 1.58 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": {
"url": ["http://localhost:3000"],
"numberOfRuns": 3,
"settings": {
"chromeFlags": "--no-sandbox --disable-dev-shm-usage --disable-gpu --headless --disable-dev-shm-usage",
"throttling": {
"rttMs": 40,
"throughputKbps": 10240,
"cpuSlowdownMultiplier": 1
},
"skipAudits": [
"uses-http2",
"valid-source-maps",
"csp-xss"
],
"onlyCategories": ["performance", "accessibility", "best-practices", "seo"]
}
},
"assert": {
"preset": "lighthouse:no-pwa",
"assertions": {
"categories:performance": ["warn", { "minScore": 0.6 }],
"categories:accessibility": ["warn", { "minScore": 0.75 }],
"categories:best-practices": ["warn", { "minScore": 0.75 }],
"categories:seo": ["warn", { "minScore": 0.75 }],
"first-contentful-paint": "off",
"largest-contentful-paint": "off",
"cumulative-layout-shift": "off",
"total-blocking-time": "off",
"interactive": "off",
"button-name": "off",
"color-contrast": "off",
"csp-xss": "off",
"robots-txt": "off",
"total-byte-weight": "off",
"valid-source-maps": "off",
"uses-responsive-images": "off",
"uses-optimized-images": "off",
"uses-text-compression": "off",
"uses-rel-preconnect": "off",
"unused-javascript": "off",
"canonical": "off",
"is-crawlable": "off"
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}