forked from Commitlabs-Org/Commitlabs-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlighthouserc.json
More file actions
34 lines (34 loc) · 1.15 KB
/
Copy pathlighthouserc.json
File metadata and controls
34 lines (34 loc) · 1.15 KB
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
{
"ci": {
"collect": {
"startServerCommand": "npm start",
"startServerReadyPattern": "ready on",
"startServerReadyTimeout": 30000,
"url": [
"http://localhost:3000/",
"http://localhost:3000/marketplace",
"http://localhost:3000/commitments"
],
"numberOfRuns": 3,
"settings": {
"onlyCategories": ["performance", "accessibility", "best-practices", "seo"]
}
},
"assert": {
"assertions": {
"categories:performance": ["warn", { "minScore": 0.7 }],
"categories:accessibility": ["error", { "minScore": 0.9 }],
"categories:best-practices": ["error", { "minScore": 0.9 }],
"categories:seo": ["error", { "minScore": 0.9 }],
"first-contentful-paint": ["warn", { "maxNumericValue": 3000 }],
"largest-contentful-paint": ["warn", { "maxNumericValue": 4000 }],
"total-blocking-time": ["warn", { "maxNumericValue": 500 }],
"cumulative-layout-shift": ["warn", { "maxNumericValue": 0.15 }],
"interactive": ["warn", { "maxNumericValue": 5000 }]
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}