Skip to content

Commit bb43c89

Browse files
committed
Create lighthouserc.json
1 parent b9b4370 commit bb43c89

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

lighthouserc.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"ci": {
3+
"collect": {
4+
"numberOfRuns": 1,
5+
"url": [
6+
"http://localhost:3000/",
7+
"http://localhost:3000/cv",
8+
"http://localhost:3000/prosjekter",
9+
"http://localhost:3000/kontakt"
10+
],
11+
"port": 3000,
12+
"settings": {
13+
"onlyCategories": [
14+
"performance",
15+
"accessibility",
16+
"best-practices",
17+
"seo"
18+
],
19+
"skipAudits": ["uses-http2"]
20+
}
21+
},
22+
"upload": {
23+
"target": "temporary-public-storage"
24+
},
25+
"assert": {
26+
"assertions": {
27+
"categories:performance": ["warn", { "minScore": 0.6 }],
28+
"categories:accessibility": ["warn", { "minScore": 0.9 }],
29+
"categories:best-practices": ["warn", { "minScore": 0.9 }],
30+
"categories:seo": ["warn", { "minScore": 0.9 }],
31+
"uses-http2": "off"
32+
}
33+
}
34+
}
35+
}

0 commit comments

Comments
 (0)