Skip to content
/ audit Public

Auditing script for producing desktop and mobile screenshots, markup validator screenshots and lighthouse reports given a URL

Notifications You must be signed in to change notification settings

xBracey/audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Audit

Auditing script for producing desktop and mobile screenshots, markup validator screenshots and lighthouse reports given a URL

Prerequisites

  1. Node v7.6.0 or above
  2. Clone this Git repository into a new directory

Installation

After cloning the git repo, execute the following lines on the command line in the root directory:

  1. npm init -y
  2. npm install puppeteer lighthouse

Run Audit Tool

To run the auditing tool, all you need is the URL of the home page of the website/staging site and a Directory Name which will store the results of the audit. The following should then be typed into the terminal:

node audit.js --url <URL> --dir <Directory Name>

Results

Results of the auditing tool can be found in the four directories of the installation directory.

Lighthouse Reports

The reports found in the /lighthouse folder can be viewed as html using the following address https://googlechrome.github.io/lighthouse/viewer/

About

Auditing script for producing desktop and mobile screenshots, markup validator screenshots and lighthouse reports given a URL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published