38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"ci": {
|
|
"collect": {
|
|
"url": [
|
|
"http://localhost:3000/",
|
|
"http://localhost:3000/pricing",
|
|
"http://localhost:3000/contact",
|
|
"http://localhost:3000/login",
|
|
"http://localhost:3000/app/demo/dashboard",
|
|
"http://localhost:3000/app/demo/crm",
|
|
"http://localhost:3000/app/demo/settings/members",
|
|
"http://localhost:3000/admin/dashboard",
|
|
"http://localhost:3000/admin/analytics"
|
|
],
|
|
"numberOfRuns": 3,
|
|
"puppeteerScript": "./scripts/lighthouse-puppeteer-auth.cjs",
|
|
"settings": {
|
|
"preset": "desktop"
|
|
}
|
|
},
|
|
"assert": {
|
|
"assertions": {
|
|
"categories:performance": ["error", { "minScore": 0.95 }],
|
|
"categories:accessibility": ["warn", { "minScore": 0.95 }],
|
|
"categories:best-practices": ["warn", { "minScore": 0.95 }],
|
|
"categories:pwa": ["warn", { "minScore": 0.9 }],
|
|
"first-contentful-paint": ["warn", { "maxNumericValue": 2500 }],
|
|
"largest-contentful-paint": ["warn", { "maxNumericValue": 3500 }],
|
|
"total-blocking-time": ["warn", { "maxNumericValue": 300 }],
|
|
"cumulative-layout-shift": ["warn", { "maxNumericValue": 0.1 }]
|
|
}
|
|
},
|
|
"upload": {
|
|
"target": "temporary-public-storage"
|
|
}
|
|
}
|
|
}
|