2.0.11 • Published 5 years ago

@dreipol/dreihouse-cli v2.0.11

Weekly downloads
6
License
ISC
Repository
github
Last release
5 years ago

dreihouse-cli

Dreihouse is a tool to run automated lighthouse audits for a webproject. Dreihouse has the advantage to be more configurable than lighthouse.

Install

npm i dreihouse-cli -g

Commands

audit <url> <dir>

This command, launches a headless chrome instance and will run a small set of audits on the given url whenever a file in the given folder changes.

setup <dir>

The setup command will setup the default configuration files in the folder specified in the command. After setup you have to edit the config to your flavours.

report <URL> [--config-file ./config/desktop.js] --reporter [REPORTER]

    dreihouse report https://example.ch -f ./config/desktop.js -r cli
    

To create a report you have to call this command followed by the config file that holds the configuration for dreihouse. Alternately you can run an audit with a default config by leaving your the config file option.

    dreihouse report https://example.ch -r cli

list of available reporters

  • cli Print lighthouse results in CLI
  • json Store the whole LH report as JSON
  • json-dashboard save just lighthouse-dashboard specific data
  • html save the LH report for further inspections

Flags

nameoptionaldefaultexampledescription
-r, --reporterfalsecli,html,json,json-dashboardAdd list of repprters to handle the data. Available
-f, --config-filetrue./config/base.js./config/lh.desktop.jsDefine the config file
-p, --porttrue9222Debugging port of a running chrome instance
-v, --verbosetruefalse-v = Error; -vv = Info; -vvvv = DebugVerbose console output
-s, --silenttruefalseSuppress spinner on CLI

#Config

See @dreipol/lighthouse-runner for detailed config

2.0.11

5 years ago

2.0.10

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago