-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlighthouserc.json
More file actions
31 lines (31 loc) · 932 Bytes
/
lighthouserc.json
File metadata and controls
31 lines (31 loc) · 932 Bytes
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
{
"ci": {
"collect": {
"staticDistDir": "docs",
"url": [
"http://localhost/#/",
"http://localhost/#/merge-pdf",
"http://localhost/#/sci-report",
"http://localhost/#/sustainability"
],
"numberOfRuns": 1,
"chromePath": "/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge",
"settings": {
"preset": "desktop",
"onlyCategories": ["accessibility", "performance", "best-practices"]
}
},
"assert": {
"assertions": {
"categories:accessibility": ["error", { "minScore": 0.9 }],
"categories:performance": ["warn", { "minScore": 0.8 }],
"categories:best-practices": ["warn", { "minScore": 0.9 }]
}
},
"upload": {
"target": "filesystem",
"outputDir": ".lighthouseci",
"reportFilenamePattern": "%%HOSTNAME%%-%%PATHNAME%%-%%DATETIME%%.report.%%EXTENSION%%"
}
}
}