wallaby-vinyl-adapter

v0.0.3
Use gulp plugins with wallaby.js

wallaby-vinyl-adapter

This simple vinyl adapter will allow you to use gulp/vinyl plugins with wallaby.js.

This is early in development, so any issues and pull requests are greatly appreciate.

USAGE

The adapter takes in a gulp/vinyl plugin and returns function(file, done). Just pass in the options like you would in gulp.

var header = require('gulp-header');
var vinylAdapter = require('wallaby-vinyl-adapter');

var partialConfig = {
  preprocessors: {
    "src/**/*.js": vinylAdapter(header("// This comment will go on top of all js files"));
  }
}
npm i wallaby-vinyl-adapter

Metadata

  • ISC
  • Whatever
  • Jeff Ling
  • released 2/24/2015

Downloads

Maintainers