Skip to content

GSA/lighthouse-plugin-edx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSA EDX Lighthouse plugin

Contents

  • package.json - declares the plugin's entry point (plugin.js)
  • plugin.js - instructs Lighthouse to run the plugin's own audits; describes the new category and its details for the report
  • audits/*.js - the new audits to run in addition to Lighthouse's default audits

Setup

mkdir edx-wrapper && cd edx-wrapper && \
npm init -y && \
npm install -D lighthouse gsa/lighthouse-plugin-edx#main

Usage

From within wrapper directory

npx lighthouse {url} --plugins=lighthouse-plugin-edx --only-categories=lighthouse-plugin-edx --view

See Lighthouse documentation for additional options.