-
Notifications
You must be signed in to change notification settings - Fork 129
/
Copy pathlighthouserc.json
35 lines (35 loc) · 897 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
{
"ci": {
"collect": {
"numberOfRuns": 1,
"url": [
"http://localhost:3000/",
"http://localhost:3000/produkter",
"http://localhost:3000/kategorier"
],
"port": 3000,
"settings": {
"onlyCategories": [
"performance",
"accessibility",
"best-practices",
"seo"
],
"skipAudits": ["uses-http2"],
"throttling": {
"method": "simulate"
}
}
},
"upload": { "target": "temporary-public-storage" },
"assert": {
"assertions": {
"categories:performance": ["warn", { "minScore": 0.8 }],
"categories:accessibility": ["warn", { "minScore": 0.9 }],
"categories:best-practices": ["warn", { "minScore": 0.9 }],
"categories:seo": ["warn", { "minScore": 0.9 }],
"uses-http2": "off"
}
}
}
}