gulp-exclude-gitignore
Gulp plugin to exclude file contained in .gitignore from the stream
Last updated 8 years ago by sboudrias .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install gulp-exclude-gitignore 
SYNC missed versions from official npm registry.

gulp-exclude-gitignore NPM version Build Status Dependency Status Coverage percentage

Ever find yourself in a situation where you want to run a gulp plugin against every JavaScript file in your project? You do so, but then it start throwing at all your node_modules?

The usual fix is to add negative glob patterns to your gulp.src() call. Doesn't this feel verbose and tedious? There is a better way! You already have this list inside your .gitignore file, let's just use it.

Install

$ npm install --save-dev gulp-exclude-gitignore

Usage

var excludeGitignore = require('gulp-exclude-gitignore');

gulp.src('**/*.js')
  .pipe(excludeGitignore())
  .pipe(jshint());

License

ISC © Simon Boudrias

Current Tags

  • 1.2.0                                ...           latest (7 years ago)

4 Versions

  • 1.2.0                                ...           7 years ago
  • 1.1.1                                ...           8 years ago
  • 1.1.0                                ...           8 years ago
  • 1.0.0                                ...           9 years ago
Downloads
Total 1
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (10)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE