perf-audit-cli
Version:
CLI tool for continuous performance monitoring and analysis
28 lines • 802 B
TypeScript
export interface LighthouseOptions {
url: string;
device: 'mobile' | 'desktop';
throttling: boolean;
outputFormat?: 'json' | 'html' | 'csv';
}
export interface LighthouseConfig {
extends: 'lighthouse:default';
settings: {
onlyCategories?: string[];
skipAudits?: string[];
throttlingMethod?: 'devtools' | 'provided' | 'simulate';
throttling?: {
rttMs: number;
throughputKbps: number;
cpuSlowdownMultiplier: number;
};
formFactor?: 'mobile' | 'desktop';
screenEmulation?: {
mobile: boolean;
width: number;
height: number;
deviceScaleFactor: number;
disabled: boolean;
};
};
}
//# sourceMappingURL=lighthouse.d.ts.map