Start an analysis
npx heart lighthouse --config '{"url":"https://heart.fabernovel.com"}'
OR
npx heart lighthouse --config config.json
The analysis configuration follows the JSON format and has the following keys:
{
"url": "https://www.fabernovel.com/",
// optional - customize Google Lighthouse
// see https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md#lighthouse-configuration
"config": {
"extends": "lighthouse:default",
"settings": {
"onlyAudits": [
"first-meaningful-paint",
"speed-index",
"first-cpu-idle",
"interactive"
]
}
}
}