Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@genexus/lighthouse-inspector

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@genexus/lighthouse-inspector

Run Google Lighthouse on a set of URLs, specifying expectations

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
3
Weekly downloads
 
Created
Source

lighthouse-inspector

A CLI for running Google Lighthouse on a set of URLs, specifying expected scores for audits and categories.

The goal of this CLI is to ease automating tests on a set of pages, using Lighthouse.

Prerequisites

Node 6.10.0 or higher, together with NPM 3 or higher.

Installing

npm install -g @genexus/lighthouse-inspector
# or
npm install --save-dev @genexus/lighthouse-inspector

Usage

lighthouse-inspector --config /path/to/config

The config option lets you specify the path to the configuration file. This JSON file lets you specify the set of URLs to be tested, the expected scores and, if needed, the Lighthouse configuration. Check the configuration file documentation for more information.

When an expected score isn't met, a message explaining which category or audit didn't meet the expected score is shown.

Running the tests

npm test

Built With

License

MIT

Keywords

FAQs

Package last updated on 11 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc