Giter Site home page Giter Site logo

andy0937 / auto-lighthouse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tgiles/auto-lighthouse

0.0 1.0 0.0 333 KB

A utility package for automating lighthouse reporting

License: GNU General Public License v3.0

JavaScript 2.57% HTML 97.43%

auto-lighthouse's Introduction

auto-lighthouse

License npm version

Dependabot Status Master build status Latest master commit

Open issues Closed issues

A CLI for crawling one or more domains and generating both mobile and desktop reports for each page.

How to use consume via NPM

  • npm install auto-lighthouse or npm install -g auto-lighthouse

  • auto-lighthouse -h

    • Verify that you recieve the help output
  • auto-lighthouse -u some_url -o true

How to use when contributing back to repository

  • Clone the repository
  • Navigate to the project root
  • npm install
  • npm link
  • auto-lighthouse -h
    • Verify help output
  • Make some changes
  • Make a pull request
  • npm unlink auto-lighthouse

Alternate way to use via cloning the repository

  • Please modify the host field in config/simpleCrawler.json with your chosen domain to perform audits on that domain.
  • npm install
  • npm run start
  • Navigate to the lighthouse folder
  • Open the appropriate timestamped directory
  • View lighthouse reports for mobile and desktop agents in your browser

Configuration reference

runnerConfiguration.json is the configuration file we use to control some of the internals of this package.

  • autoOpenReports: Determines whether this package should automatically open generated reports. Default: false. Can be set through the config or the CLI.
  • port: The local express server uses this number. Default: 9000. Can be set through the config or CLI.

auto-lighthouse's People

Contributors

andy0937 avatar dependabot-preview[bot] avatar tgiles avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.