pretty-plato
v1.1.0
Published
Preconfigured Plato reporting.
Downloads
6
Readme
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.