Negatively Proportional Model

    This package has been deprecated

    Author message:

    Deprecated. Just use the `plato` module directly.

    gulp-plato

    1.0.2 • Public • Published

    gulp-plato Build Status

    Deprecated. Just use plato directly.

    Generate complexity analysis reports with plato

    Issues with the output should be reported on the plato issue tracker.

    Install

    $ npm install --save-dev gulp-plato

    Usage

    var gulp = require('gulp');
    var plato = require('gulp-plato');
     
    gulp.task('default', function () {
        return gulp.src('app.js')
            .pipe(plato('report', {
                jshint: {
                    options: {
                        strict: true
                    }
                },
                complexity: {
                    trycatch: true
                }
            }));
    });

    API

    plato(destDir, options)

    destDir

    Required
    Type: string

    Report destination.

    options.jshint

    Type: object

    Options passed to JSHint.

    options.complexity

    Type: object

    Options passed to complexity-report.

    License

    MIT © Sindre Sorhus

    Install

    npm i gulp-plato

    DownloadsWeekly Downloads

    281

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • sindresorhus
    • jsoverson