Skip to content

mlmorg/gulp-plugin-cb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-plugin-cb

build status Davis Dependency status

NPM

Transform Vinyl files using Gulp plugins but with a callback interface.

Example

var transform = require('gulp-plugin-cb');
var uglify = require('gulp-uglify');

transform(file, uglify(), function onComplete(err, file) {
  // file has been transformed with uglify
});

Installation

npm install gulp-plugin-cb

Tests

npm test

NPM scripts

  • npm run cover This runs the tests with code coverage
  • npm run lint This will run the linter on your code
  • npm test This will run the tests.
  • npm run trace This will run your tests in tracing mode.
  • npm run travis This is run by travis.CI to run your tests
  • npm run view-cover This will show code coverage in a browser

Contributors

  • Matt Morgan

MIT Licenced

About

Transform Vinyl files using Gulp plugins but with a callback interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published