@codechecks/lighthouse-keeper
Version:
Keep an eye on Google Lighthouse score changes
19 lines (18 loc) • 408 B
TypeScript
export interface LighthouseMetrics {
performance?: number;
accessibility?: number;
"best-practices"?: number;
seo?: number;
pwa?: number;
}
export interface LighthouseReport {
htmlReport: string;
metrics: LighthouseMetrics;
audits: LighthouseAudit[];
}
export interface LighthouseAudit {
id: string;
title: string;
description: string;
score: number | null;
}