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 reportaudits/*.js- the new audits to run in addition to Lighthouse's default audits
mkdir edx-wrapper && cd edx-wrapper && \
npm init -y && \
npm install -D lighthouse gsa/lighthouse-plugin-edx#mainFrom within
wrapperdirectory
npx lighthouse {url} --plugins=lighthouse-plugin-edx --only-categories=lighthouse-plugin-edx --viewSee Lighthouse documentation for additional options.