{
  "name": "gulp-plumber",
  "version": "0.6.4",
  "description": "Prevent pipe breaking caused by errors from gulp plugins",
  "keywords": [
    "gulpplugin"
  ],
  "homepage": "https://github.com/floatdrop/gulp-plumber",
  "bugs": {
    "url": "https://github.com/floatdrop/gulp-plumber/issues"
  },
  "author": {
    "name": "Vsevolod Strukchinsky",
    "email": "floatdrop@gmail.com",
    "url": "https://github.com/floatdrop"
  },
  "main": "./index.js",
  "repository": {
    "type": "git",
    "url": "git://github.com/floatdrop/gulp-plumber.git"
  },
  "scripts": {
    "test": "istanbul test _mocha --report html -- test/*.js --reporter spec",
    "coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
  },
  "dependencies": {
    "gulp-util": "~3",
    "through2": "~0.5"
  },
  "devDependencies": {
    "mocha": "~1.14.0",
    "coveralls": "~2.6.0",
    "mocha-lcov-reporter": "0.0.1",
    "istanbul": "~0.1.44",
    "should": "~2.1.1",
    "event-stream": "~3.0.20",
    "gulp-mocha": "~0.3.0",
    "gulp-watch": "~0.3.3",
    "gulp": "~3",
    "gulp-grep-stream": "0.0.2",
    "sinon": "~1.7.3",
    "rimraf": "~2.2.6",
    "async": "~0.2.10",
    "hashdir": "0.0.1",
    "through": "~2.3.4"
  },
  "engines": {
    "node": ">=0.10",
    "npm": ">=1.2.10"
  },
  "licenses": [
    {
      "type": "MIT"
    }
  ],
  "readme": "# :monkey: gulp-plumber\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverall Status][coverall-image]][coverall-url] [![Dependency Status][depstat-image]][depstat-url]\n\n> Prevent pipe breaking caused by errors from [gulp](https://github.com/wearefractal/gulp) plugins\n\nThis :monkey:-patch plugin is fixing [issue with Node Streams piping](https://github.com/gulpjs/gulp/issues/91). For explanations, read [this small article](https://gist.github.com/floatdrop/8269868).\n\nBriefly it replaces `pipe` method and removes standard `onerror` handler on `error` event, which unpipes streams on error by default.\n\n## Usage :monkey:\n\nFirst, install `gulp-plumber` as a development dependency:\n\n```shell\nnpm install --save-dev gulp-plumber\n```\n\nThen, add it to you `gulpfile.js`:\n\n```javascript\nvar plumber = require('gulp-plumber');\nvar coffee = require('gulp-coffee');\n\ngulp.src('./src/*.ext')\n\t.pipe(plumber())\n\t.pipe(coffee())\n\t.pipe(gulp.dest('./dist'));\n```\n\n## API :monkey:\n\n### :monkey: plumber([options])\n\nReturns Stream, that fixes `pipe` methods on Streams that are next in pipeline.\n\n#### options\nType: `Object` / `Function`\nDefault: `{}`\n\nSets options described below from its properties. If type is `Function` it will set `errorHandler`.\n\n#### options.inherit\nType: `Boolean`\nDefault: `true`\n\nMonkeypatch `pipe` functions in underlying streams in pipeline.\n\n#### options.errorHandler\nType: `Boolean` / `Function`\nDefault: `true`\n\nHandle errors in underlying streams and output them to console.\n * `function` passed - it will be attached to stream `on('error')`.\n * `false` passed - error handler will not be attached.\n * `undefined` - default error handler will be attached.\n\n### plumber.stop()\n\nThis method will return default behaviour for pipeline after it was piped.\n\n```javascript\nvar plumber = require('gulp-plumber');\n\ngulp.src('./src/*.scss')\n    .pipe(plumber())\n    .pipe(sass())\n    .pipe(uglify())\n    .pipe(plumber.stop())\n    .pipe(gulp.dest('./dist'));\n```\n\n## License :monkey:\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\n\n[npm-url]: https://npmjs.org/package/gulp-plumber\n[npm-image]: https://badge.fury.io/js/gulp-plumber.svg\n\n[travis-url]: http://travis-ci.org/floatdrop/gulp-plumber\n[travis-image]: https://secure.travis-ci.org/floatdrop/gulp-plumber.svg?branch=master\n\n[coverall-url]: https://coveralls.io/r/floatdrop/gulp-plumber\n[coverall-image]: http://img.shields.io/coveralls/floatdrop/gulp-plumber.svg\n\n\n[depstat-url]: https://david-dm.org/floatdrop/gulp-plumber\n[depstat-image]: https://david-dm.org/floatdrop/gulp-plumber.svg?theme=shields.io\n",
  "readmeFilename": "README.md",
  "_id": "gulp-plumber@0.6.4",
  "_from": "gulp-plumber@^0.6.3"
}
