diff --git a/lighthouserc.cjs b/lighthouserc.cjs new file mode 100644 index 0000000..23983bf --- /dev/null +++ b/lighthouserc.cjs @@ -0,0 +1,28 @@ +module.exports = { + ci: { + collect: { + staticDistDir: './dist', + url: [ + 'http://localhost/index.html', + 'http://localhost/pricing/index.html', + 'http://localhost/imprint/index.html', + 'http://localhost/privacy/index.html', + ], + numberOfRuns: 1, + settings: { + preset: 'desktop', + }, + }, + assert: { + assertions: { + 'categories:performance': ['error', { minScore: 0.95 }], + 'categories:accessibility': ['error', { minScore: 0.95 }], + 'categories:best-practices': ['error', { minScore: 0.95 }], + 'categories:seo': ['error', { minScore: 0.95 }], + }, + }, + upload: { + target: 'temporary-public-storage', + }, + }, +};