76 lines
1.7 KiB
JSON
Executable file
76 lines
1.7 KiB
JSON
Executable file
{
|
|
"ci": {
|
|
"collect": {
|
|
"numberOfRuns": 1,
|
|
"startServerCommand": "npm run preview -- --host 127.0.0.1 --port 4173 --strictPort",
|
|
"startServerReadyPattern": "127.0.0.1:4173",
|
|
"startServerReadyTimeout": 30000,
|
|
"url": [
|
|
"http://127.0.0.1:4173/",
|
|
"http://127.0.0.1:4173/pricing",
|
|
"http://127.0.0.1:4173/support",
|
|
"http://127.0.0.1:4173/register"
|
|
],
|
|
"settings": {
|
|
"chromeFlags": "--headless=new --no-sandbox --disable-dev-shm-usage --disable-gpu"
|
|
}
|
|
},
|
|
"assert": {
|
|
"preset": "lighthouse:no-pwa",
|
|
"assertions": {
|
|
"categories:accessibility": [
|
|
"error",
|
|
{
|
|
"minScore": 0.9
|
|
}
|
|
],
|
|
"categories:best-practices": [
|
|
"warn",
|
|
{
|
|
"minScore": 0.9
|
|
}
|
|
],
|
|
"categories:seo": [
|
|
"warn",
|
|
{
|
|
"minScore": 0.9
|
|
}
|
|
],
|
|
"categories:performance": [
|
|
"warn",
|
|
{
|
|
"minScore": 0.75
|
|
}
|
|
],
|
|
"cumulative-layout-shift": [
|
|
"error",
|
|
{
|
|
"maxNumericValue": 0.1
|
|
}
|
|
],
|
|
"largest-contentful-paint": [
|
|
"warn",
|
|
{
|
|
"maxNumericValue": 5000
|
|
}
|
|
],
|
|
"first-contentful-paint": [
|
|
"warn",
|
|
{
|
|
"maxNumericValue": 3500
|
|
}
|
|
],
|
|
"total-blocking-time": [
|
|
"warn",
|
|
{
|
|
"maxNumericValue": 500
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"upload": {
|
|
"target": "filesystem",
|
|
"outputDir": ".lighthouseci"
|
|
}
|
|
}
|
|
}
|