diff --git a/lighthouserc.json b/lighthouserc.json new file mode 100644 index 0000000..be6793d --- /dev/null +++ b/lighthouserc.json @@ -0,0 +1,20 @@ +{ + "ci": { + "collect": { + "startServerCommand": "npm run preview", + "url": ["http://localhost:4173/"], + "numberOfRuns": 1 + }, + "assert": { + "preset": "lighthouse:no-pwa", + "assertions": { + "categories:performance": ["warn", { "minScore": 0.7 }], + "categories:accessibility": ["error", { "minScore": 0.9 }], + "categories:best-practices": ["warn", { "minScore": 0.8 }] + } + }, + "upload": { + "target": "temporary-public-storage" + } + } +} \ No newline at end of file