1.1.0 • Published 6 years ago

pretty-plato v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Pretty Plato

Preconfigured Plato reports on a developer's feature branch vs master. Console reports can be used in watch tasks for feedback during development. Also supports Plato's full html dashboard.

Setup

npm i pretty-plato --save-dev

Usage

All report methods return a Promise.

let report = require('pretty-plato');

Console report for feedback during development:

report.console([
    'path/to/src/files/**/*.js'
]);

Update the graphical dashboard:

report.dashboard([
    'path/to/src/files/**/*.js'
], 'optional-report-directory');

Report directory defaults to 'docs' for easy use with github pages.

Example Report

Demo Image