cloudfour / lighthouse-parade

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

Allow running LH categories other than just performance #122

Closed calebeby closed 2 years ago

calebeby commented 2 years ago

--lh:only-categories: Only run the specified lighthouse categories. Available categories: accessibility, best-practices, performance, pwa, seo. Multiple can be specified using commas, e.g. --lh:only-categories=accessibility,seo. If not specified, all categories will be used.

The name has the --lh: prefix, but otherwise it exactly mirrors the corresponding lighthouse cli flag: https://github.com/GoogleChrome/lighthouse/blob/master/lighthouse-cli/cli-flags.js#L55

Also, pass/fail audits are displayed now as well, not just scores/numeric columns:

Screen Shot 2022-07-08 at 3 21 37 PM
changeset-bot[bot] commented 2 years ago

⚠️ No Changeset found

Latest commit: a238a034dd28bd25bef99f3064cbd886ac77e21c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR