{
  "name": "gulp-coffee",
  "description": "Compile CoffeeScript files",
  "version": "2.1.1",
  "homepage": "http://github.com/wearefractal/gulp-coffee",
  "repository": {
    "type": "git",
    "url": "git://github.com/wearefractal/gulp-coffee.git"
  },
  "author": {
    "name": "Fractal",
    "email": "contact@wearefractal.com",
    "url": "http://wearefractal.com/"
  },
  "main": "./index.js",
  "keywords": [
    "gulpplugin"
  ],
  "dependencies": {
    "coffee-script": "1.7.1",
    "through2": "^0.5.1",
    "gulp-util": "^2.2.1",
    "merge": "^1.1.3",
    "vinyl-sourcemaps-apply": "~0.1.1"
  },
  "devDependencies": {
    "mocha": "*",
    "should": "*",
    "gulp-sourcemaps": "~0.4.0"
  },
  "scripts": {
    "test": "mocha"
  },
  "engines": {
    "node": ">= 0.9.0"
  },
  "licenses": [
    {
      "type": "MIT",
      "url": "http://github.com/wearefractal/gulp-coffee/raw/master/LICENSE"
    }
  ],
  "readme": "![status](https://secure.travis-ci.org/wearefractal/gulp-coffee.png?branch=master)\n\n## Information\n\n<table>\n<tr> \n<td>Package</td><td>gulp-coffee</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>Compiles CoffeeScript</td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.9</td>\n</tr>\n</table>\n\n## Usage\n\n```javascript\nvar coffee = require('gulp-coffee');\n\ngulp.task('coffee', function() {\n  gulp.src('./src/*.coffee')\n    .pipe(coffee({bare: true}).on('error', gutil.log))\n    .pipe(gulp.dest('./public/'))\n});\n```\n\n### Error handling\n\ngulp-coffee will emit an error for cases such as invalid coffeescript syntax. If uncaught, the error will crash gulp.\n\nYou will need to attach a listener (i.e. `.on('error')`) for the error event emitted by gulp-coffee:\n\n```javascript\nvar coffeeStream = coffee({bare: true});\n\n// Attach listener\ncoffeeStream.on('error', function(err) {});\n```\n\nIn addition, you may utilize [gulp-util](https://github.com/wearefractal/gulp-util)'s logging function:\n\n```javascript\nvar gutil = require('gulp-util');\n\n// ...\n\nvar coffeeStream = coffee({bare: true});\n\n// Attach listener\ncoffeeStream.on('error', gutil.log);\n\n```\n\nSince `.on(...)` returns `this`, you can make you can compact it as inline code:\n\n```javascript\n\ngulp.src('./src/*.coffee')\n  .pipe(coffee({bare: true}).on('error', gutil.log))\n  // ...\n```\n\n## Options\n\nThe options object supports the same options as the standard CoffeeScript compiler\n\n## Source maps\n\ngulp-coffee can be used in tandem with [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps) to generate source maps for the coffee to javascript transition. You will need to initialize [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps) prior to running the gulp-coffee compiler and write the source maps after.\n\n```javascript\nvar sourcemaps = require('gulp-sourcemaps');\n\ngulp.src('./src/*.coffee')\n  .pipe(sourcemaps.init())\n  .pipe(coffee())\n  .pipe(sourcemaps.write())\n  .pipe(gulp.dest('./dest/js'));\n\n// will write the source maps inline in the compiled javascript files\n```\n\nBy default, [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps) writes the source maps inline in the compiled javascript files. To write them to a separate file, specify a relative file path in the `sourcemaps.write()` function.\n\n```javascript\nvar sourcemaps = require('gulp-sourcemaps');\n\ngulp.src('./src/*.coffee')\n  .pipe(sourcemaps.init())\n  .pipe(coffee({ bare: true })).on('error', gutil.log)\n  .pipe(sourcemaps.write('./maps'))\n  .pipe(gulp.dest('./dest/js'));\n\n// will write the source maps to ./dest/js/maps\n```\n\n## LICENSE\n\n(MIT License)\n\nCopyright (c) 2013 Fractal <contact@wearefractal.com>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/wearefractal/gulp-coffee/issues"
  },
  "_id": "gulp-coffee@2.1.1",
  "_from": "gulp-coffee@^2.1.1"
}
