-
Notifications
You must be signed in to change notification settings - Fork 0
/
lighthouserc.json
72 lines (72 loc) · 2.48 KB
/
lighthouserc.json
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"ci": {
"collect": {
"numberOfRuns": 1,
"staticDistDir": "./public",
"maxAutodiscoverUrls": 40
},
"assert": {
"preset": "lighthouse:recommended",
"assertions": {
"categories:performance": [
"error",
{
"minScore": 0.4
}
],
"first-contentful-paint": [
"warn",
{
"maxNumericValue": 2500,
"aggregationMethod": "optimistic"
}
],
"interactive": [
"warn",
{
"maxNumericValue": 5000,
"aggregationMethod": "optimistic"
}
],
"uses-long-cache-ttl": "off",
"uses-http2": "off",
"redirects-http": "off",
"uses-rel-preconnect": "off",
"tap-targets": "warn",
"service-worker": "off",
"offline-start-url": "off",
"works-offline": "off",
"link-name": "warn",
"link-text": "warn",
"font-display": "warn",
"color-contrast": "warn",
"uses-responsive-images": "warn",
"duplicate-id": "warn",
"image-aspect-ratio": "warn",
"uses-passive-event-listeners": "warn",
"no-document-write": "warn",
"uses-text-compression": "warn",
"frame-title": "warn",
"offscreen-images": "warn",
"total-byte-weight": "warn",
"errors-in-console": "warn",
"csp-xss": "warn",
"efficient-animated-content": "warn",
"maskable-icon": "off",
"unused-javascript": "warn",
"non-composited-animations": "off",
"inspector-issues": "off",
"valid-source-maps": "off",
"unsized-images": "warn",
"content-width": "warn",
"image-size-responsive": "warn",
"unused-css-rules": "warn",
"lcp-lazy-loaded": "warn",
"installable-manifest": "warn"
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}