motion
Version:
motion - moving development forward
85 lines (84 loc) • 5.51 kB
JSON
{
"_args": [
[
"gulp-uglify@https://registry.npmjs.org/gulp-uglify/-/gulp-uglify-1.5.1.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "gulp-uglify@1.5.1",
"_id": "gulp-uglify@1.5.1",
"_inCache": true,
"_location": "/gulp-uglify",
"_phantomChildren": {},
"_requested": {
"name": "gulp-uglify",
"raw": "gulp-uglify@https://registry.npmjs.org/gulp-uglify/-/gulp-uglify-1.5.1.tgz",
"rawSpec": "https://registry.npmjs.org/gulp-uglify/-/gulp-uglify-1.5.1.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/gulp-uglify/-/gulp-uglify-1.5.1.tgz",
"type": "remote"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/gulp-uglify/-/gulp-uglify-1.5.1.tgz",
"_shasum": "9e13294247354c91e15ace116b1630789366206a",
"_shrinkwrap": null,
"_spec": "gulp-uglify@https://registry.npmjs.org/gulp-uglify/-/gulp-uglify-1.5.1.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "terinjokes@gmail.com",
"name": "Terin Stock"
},
"bugs": {
"url": "https://github.com/terinjokes/gulp-uglify/issues"
},
"dependencies": {
"deap": "^1.0.0",
"fancy-log": "^1.0.0",
"gulp-util": "^3.0.0",
"isobject": "^2.0.0",
"through2": "^2.0.0",
"uglify-js": "2.6.0",
"uglify-save-license": "^0.4.1",
"vinyl-sourcemaps-apply": "^0.2.0"
},
"description": "Minify files with UglifyJS.",
"devDependencies": {
"cmem": "^1.0.0",
"coveralls": "^2.11.4",
"gulp-concat": "^2.0.0",
"gulp-sourcemaps": "^1.0.0",
"istanbul": "^0.4.0",
"tape": "^4.0.0",
"vinyl": "^1.0.0",
"xo": "^0.10.0"
},
"files": [
"index.js",
"lib/",
"minifier.js"
],
"homepage": "https://github.com/terinjokes/gulp-uglify/",
"keywords": [
"gulpplugin"
],
"license": "MIT",
"main": "index.js",
"name": "gulp-uglify",
"optionalDependencies": {},
"readme": "# gulp-uglify [](https://travis-ci.org/terinjokes/gulp-uglify) [](https://ci.appveyor.com/project/terinjokes/gulp-uglify) [](https://www.npmjs.org/package/gulp-uglify) [](https://www.npmjs.org/package/gulp-uglify) [](https://coveralls.io/github/terinjokes/gulp-uglify)\n\n> Minify JavaScript with UglifyJS2.\n\n## Installation\n\nInstall package with NPM and add it to your development dependencies:\n\n`npm install --save-dev gulp-uglify`\n\n## Usage\n\n```javascript\nvar uglify = require('gulp-uglify');\n\ngulp.task('compress', function() {\n return gulp.src('lib/*.js')\n .pipe(uglify())\n .pipe(gulp.dest('dist'));\n});\n```\n\n## Options\n\n- `mangle`\n\n\tPass `false` to skip mangling names.\n\n- `output`\n\n\tPass an object if you wish to specify additional [output\n\toptions](http://lisperator.net/uglifyjs/codegen). The defaults are\n\toptimized for best compression.\n\n- `compress`\n\n\tPass an object to specify custom [compressor\n\toptions](http://lisperator.net/uglifyjs/compress). Pass `false` to skip\n\tcompression completely.\n\n- `preserveComments`\n\n\tA convenience option for `options.output.comments`. Defaults to preserving no\n\tcomments.\n\n\t- `all`\n\n\t\tPreserve all comments in code blocks\n\n\t- `license`\n\n\t\tAttempts to preserve comments that likely contain licensing information,\n\t\teven if the comment does not have directives such as `@license` or `/*!`.\n\n\t\tImplemented via the [`uglify-save-license`](https://github.com/shinnn/uglify-save-license)\n\t\tmodule, this option preserves a comment if one of the following is true:\n\n\t\t1. The comment is in the *first* line of a file\n\t\t2. A regular expression matches the string of the comment.\n\t\t\t\tFor example: `MIT`, `@license`, or `Copyright`.\n\t\t3. There is a comment at the *previous* line, and it matches 1, 2, or 3.\n\n\t- `function`\n\n\t\tSpecify your own comment preservation function. You will be passed the\n\t\tcurrent node and the current comment and are expected to return either\n\t\t`true` or `false`.\n\n\t- `some` (deprecated)\n\n\t\tPreserve comments that start with a bang (`!`) or include a Closure Compiler\n\t\tdirective (`@preserve`, `@license`, `@cc_on`).\n\t\tDeprecated in favor of the `license` option, documented above.\n\nYou can also pass the `uglify` function any of the options [listed\nhere](https://github.com/mishoo/UglifyJS2#the-simple-way) to modify\nUglifyJS's behavior.\n\n## Errors\n\n`gulp-uglify` emits an 'error' event if it is unable to minify a specific file.\nWherever possible, the PluginError object will contain the following properties:\n\n- `fileName`\n- `lineNumber`\n- `message`\n\nTo handle errors across your entire pipeline, see the\n[gulp](https://github.com/gulpjs/gulp/blob/master/docs/recipes/combining-streams-to-handle-errors.md#combining-streams-to-handle-errors) documentation.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/terinjokes/gulp-uglify.git"
},
"scripts": {
"coverage": "cat ./coverage/lcov.info | coveralls",
"test": "xo && istanbul cover ./node_modules/tape/bin/tape test/*.js"
},
"version": "1.5.1",
"xo": {
"space": true
}
}