gulp-examplejs

0.0.9 • Public • Published

NPM version Build Status Coverage Status

gulp-examplejs

A tool for converting example code into test cases with examplejs.

Installation

Install package with NPM and add it to your development dependencies:

npm install --save-dev gulp-examplejs

Usage

var examplejs = require('gulp-examplejs');
 
gulp.task('dist', function() {
  return gulp.src('lib/*.js')
    .pipe(examplejs())
    .pipe(gulp.dest('dist'));
});

Options

  • desc

    Test case description

  • timeout

    Test case timeout

  • head

    Include head filen

  • header

    Include head text

License

MIT © zswang

/gulp-examplejs/

    Package Sidebar

    Install

    npm i gulp-examplejs

    Weekly Downloads

    3

    Version

    0.0.9

    License

    MIT

    Last publish

    Collaborators

    • zswang