-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathlighthouserc.json
More file actions
30 lines (30 loc) · 867 Bytes
/
Copy pathlighthouserc.json
File metadata and controls
30 lines (30 loc) · 867 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
{
"ci": {
"collect": {
"url": [
"http://localhost:3000",
"http://localhost:3000/creators",
"http://localhost:3000/bounties"
],
"startServerCommand": "pnpm run start",
"startServerReadyPattern": "ready on",
"startServerReadyTimeout": 30000,
"numberOfRuns": 3,
"settings": {
"preset": "desktop"
}
},
"assert": {
"assertions": {
"categories:performance": ["warn", { "minScore": 0.85 }],
"categories:accessibility": ["error", { "minScore": 0.90 }],
"first-contentful-paint": ["warn", { "maxNumericValue": 2000 }],
"largest-contentful-paint": ["warn", { "maxNumericValue": 3000 }],
"cumulative-layout-shift": ["warn", { "maxNumericValue": 0.1 }]
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}