{
  "_args": [
    [
      "yuglify@*",
      "/var/www/bonus/backend/node_modules/production"
    ]
  ],
  "_from": "yuglify@*",
  "_id": "yuglify@0.1.4",
  "_inCache": true,
  "_installable": true,
  "_location": "/yuglify",
  "_npmUser": {
    "email": "davglass@gmail.com",
    "name": "davglass"
  },
  "_npmVersion": "1.2.15",
  "_phantomChildren": {
    "abbrev": "1.1.0"
  },
  "_requested": {
    "name": "yuglify",
    "raw": "yuglify@*",
    "rawSpec": "*",
    "scope": null,
    "spec": "*",
    "type": "range"
  },
  "_requiredBy": [
    "/production"
  ],
  "_resolved": "https://registry.npmjs.org/yuglify/-/yuglify-0.1.4.tgz",
  "_shasum": "726d5e4af810f741ef21865f6f954c4078a3a45f",
  "_shrinkwrap": null,
  "_spec": "yuglify@*",
  "_where": "/var/www/bonus/backend/node_modules/production",
  "bin": {
    "yuglify": "./bin/yuglify"
  },
  "bugs": {
    "url": "http://github.com/yui/yuglify/issues"
  },
  "dependencies": {
    "nopt": "~2.1.1",
    "uglify-js": "~1.3.4",
    "ycssmin": "~1.0.1"
  },
  "description": "cli wrapper for uglify and cssmin used by YUI",
  "devDependencies": {
    "jshint": "~0.9.0",
    "vows": "*",
    "yui-lint": "~0.1.1"
  },
  "directories": {},
  "dist": {
    "shasum": "726d5e4af810f741ef21865f6f954c4078a3a45f",
    "tarball": "https://registry.npmjs.org/yuglify/-/yuglify-0.1.4.tgz"
  },
  "homepage": "https://github.com/yui/yuglify#readme",
  "licenses": [
    {
      "type": "BSD",
      "url": "https://github.com/yui/yuglify/blob/master/LICENSE"
    }
  ],
  "main": "./lib/index.js",
  "maintainers": [
    {
      "name": "davglass",
      "email": "davglass@gmail.com"
    }
  ],
  "name": "yuglify",
  "optionalDependencies": {},
  "preferGlobal": "true",
  "readme": "yUglify\n=======\n\n`yuglify` is a wrapper around [UglifyJS](https://github.com/mishoo/UglifyJS) and [cssmin](https://github.com/jbleuzen/node-cssmin)\nwith the default YUI configurations on each of them.\n\n\nBuild Status\n------------\n\n[![Build Status](https://secure.travis-ci.org/yui/yuglify.png?branch=master)](http://travis-ci.org/yui/yuglify)\n\n\nCLI Usage\n----------\n\n    npm -g install yuglify\n\n`yuglify` has a very simple CLI interface to allow you to compress files from the command line.\n\n    yuglify ./lib/*.js #uses shell globbing, won't work on Windows\n\nThis will read all passed files and compress them (js or css) and write them back beside the original\nwith the name altered to `-min.js|css`.\n\nRequired\n--------\n\n    npm install yuglify\n\n\n```javascript\n\nvar yuglify = require('yuglify');\n\nyuglify.jsmin('<string of source', function(err, smashed) {\n    fs.writeFile('/path/to/file', smashed, 'utf8', function() {});\n});\n\nyuglify.cssmin('<string of source', function(err, smashed) {\n    fs.writeFile('/path/to/file', smashed, 'utf8', function() {});\n});\n\n```\n\nPurpose\n-------\n\nThis module is primarily designed to be used inside [shifter](http://yui.github.com/shifter/).\n\nWhy not use the default Uglify?\n-------------------------------\n\nWe need to support the `/*!` license comment blocks when minifying, so we added\na preprocessor to the code to pull them from the source, then place them back when\nthe minification is complete.\n\nWe also needed to make sure that the file ends in a clean line ending for our\ncombo servers. This way we ensure that other modules don't have to end with a\nsemi-colon and the combohandler doesn't concat them together in a bad way.\n\nWe've also added support to add a semi-colon if the last character of the\nminified source is either a `)` or a `}`.\n\nThe last thing this module does is provide the default config that we think\nis the most compatible with the way that YUI Compressor used to minify our\nfiles.\n\n```javascript\n{\n    mangle: true,\n    squeeze: true,\n    semicolon: false,\n    lift_vars: false,\n    mangle_toplevel: true,\n    no_mangle_functions: true,\n    max_line_length: 6000\n}\n```\n\nTesting\n-------\n\nCurrently, the tests for this module are just to make sure that they are exported properly.\nShifter's test suite validates that these compressors are working as expected. Soon, we'll\nmove them over to this repo too.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/yui/yuglify.git"
  },
  "scripts": {
    "pretest": "jshint --config ./node_modules/yui-lint/jshint.json ./lib/*.js ./bin/yuglify",
    "test": "vows --spec ./tests/*.js"
  },
  "version": "0.1.4"
}
