cloudfour / lighthouse-parade

A Node.js command line tool that crawls a domain and gathers lighthouse performance data for every page.
MIT License
364 stars 14 forks source link

aggregatedDesktopReport ? #97

Open ashtonlance opened 2 years ago

ashtonlance commented 2 years ago

First off, this is a fantastic package.

One thing I could really use for my project is an additional aggregatedDesktopReport alongside the existing aggregatedMobileReport. Is there a way to get that?

calebeby commented 2 years ago

Hi @ashtonlance, I'm glad lighthouse-parade was helpful to you!

I was looking through Lighthouse's options and it seems like the most relevant option they have is the formFactor option. It defaults to mobile. I think some of the metrics are adjusted slightly when the formFactor option is changed to desktop.

If you are interested in sending a PR that adds a --formFactor flag to lighthouse-parade which passes that flag to lighthouse, I would definitely be open to it!