-
Notifications
You must be signed in to change notification settings - Fork 0
/
lighthouserc.json
41 lines (41 loc) · 1001 Bytes
/
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
{
"ci": {
"collect": {
"url": ["http://localhost/"],
"numberOfRuns": 2,
"staticDistDir": "./public"
},
"assert": {
"preset": "lighthouse:recommended",
"assertions": {
"first-contentful-paint": [
"warn",
{
"maxNumericValue": 2500,
"aggregationMethod": "optimistic"
}
],
"interactive": [
"warn",
{
"maxNumericValue": 5000,
"aggregationMethod": "optimistic"
}
],
"uses-long-cache-ttl": "off",
"uses-http2": "off",
"canonical": "off",
"is-crawlable": "off",
"link-name": "off",
"meta-description": "off",
"dom-size": ["error", { "minScore": 0.98 }],
"uses-rel-preconnect": "off",
"unused-css-rules": "off",
"offscreen-images": ["warn", { "minScore": 0 }]
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}