1.0.4 • Published 6 years ago

gulp-jsinspecty v1.0.4

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

gulp-jsinspecty

Gulp plugin for running jsinspect & generate a report file (.json, .txt, .md, .html)

Inspire from gulp-jsinspect

Install

$ npm install D gulp-jsinspecty

Usage

var gulp = require('gulp');
var jsinspecty = require('gulp-jsinspecty');

gulp.task('default', function () {
  return gulp.src([
      'src/**/*.js',
      '!*.test.js'  
  ])
    .pipe(jsinspecty({
        lineNumber: true,
        reporter: 'markdown', // or a shortner 'md' 
        reportFilename: 'result'
    })) // you can also set options in .jsinspectrc file
    .pipe(gulp.dest('./')); // generate a file 'result.md'
});

Options

reporter

Type: String

Default value: default

Allow values: json, md(or markdown), pmd, html, defalut

lineNumber

Type: Boolean

Default value: false

Show line numbers in reporter

reportFilename

Type: String

Default value: default

Allow values: json, md(or markdown), pmd, defalut

failOnMatch

Type: Boolean

Default value: false

threshold

Type: Number

Default value: 15

Number of nodes.

suppress

Type: Number

Default value: 100

length to suppress diffs (off: 0).

identifiers

Type: Boolean

Default value: false

Match identifiers.

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1-3

6 years ago

0.0.1-2

6 years ago

0.0.1-1

6 years ago

0.0.1

6 years ago