package.json 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "gulp-uglify",
  3. "description": "Minify files with UglifyJS.",
  4. "version": "1.0.2",
  5. "author": {
  6. "name": "Terin Stock",
  7. "email": "[email protected]"
  8. },
  9. "bugs": {
  10. "url": "https://github.com/terinjokes/gulp-uglify/issues"
  11. },
  12. "dependencies": {
  13. "deepmerge": ">=0.2.7 <0.3.0-0",
  14. "gulp-util": ">=3.0.0 <4.0.0-0",
  15. "through2": ">=0.6.1 <1.0.0-0",
  16. "uglify-js": "2.4.15",
  17. "vinyl-sourcemaps-apply": ">=0.1.1 <0.2.0-0"
  18. },
  19. "devDependencies": {
  20. "argg": "0.0.1",
  21. "codeclimate-test-reporter": "0.0.3",
  22. "gulp-concat": ">=2.3.4 <3.0.0-0",
  23. "gulp-sourcemaps": ">=1.1.1 <2.0.0-0",
  24. "istanbul": ">=0.3.0 <0.4.0-0",
  25. "rimraf": ">=2.2.8 <3.0.0-0",
  26. "tape": ">=2.12.3 <3.0.0-0",
  27. "vinyl": ">=0.3.2 <0.4.0-0"
  28. },
  29. "engines": {
  30. "node": ">= 0.9"
  31. },
  32. "homepage": "https://github.com/terinjokes/gulp-uglify/",
  33. "keywords": [
  34. "gulpplugin"
  35. ],
  36. "license": "MIT",
  37. "main": "index.js",
  38. "repository": {
  39. "type": "git",
  40. "url": "https://github.com/terinjokes/gulp-uglify.git"
  41. },
  42. "scripts": {
  43. "codeclimate": "cat ./coverage/lcov.info|codeclimate",
  44. "coverage": "istanbul cover node_modules/argg test/*.js --report lcovonly",
  45. "rm": "rimraf ./coverage",
  46. "test": "npm run coverage && npm run rm",
  47. "test-report": "npm run coverage && npm run codeclimate && npm run rm"
  48. },
  49. "readme": "# gulp-uglify [![Build Status](http://img.shields.io/travis/terinjokes/gulp-uglify.svg?style=flat)](https://travis-ci.org/terinjokes/gulp-uglify) [![](http://img.shields.io/npm/dm/gulp-uglify.svg?style=flat)](https://www.npmjs.org/package/gulp-uglify) [![](http://img.shields.io/npm/v/gulp-uglify.svg?style=flat)](https://www.npmjs.org/package/gulp-uglify) [![](http://img.shields.io/codeclimate/github/terinjokes/gulp-uglify.svg?style=flat)](https://codeclimate.com/github/terinjokes/gulp-uglify) [![](http://img.shields.io/codeclimate/coverage/github/terinjokes/gulp-uglify.svg?style=flat)](https://codeclimate.com/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 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- `some`\n\n\t\tPreserve comments that start with a bang (`!`) or include a Closure\n\t\tCompiler directive (`@preserve`, `@license`, `@cc_on`)\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\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",
  50. "readmeFilename": "README.md",
  51. "_id": "[email protected]",
  52. "_from": "gulp-uglify@"
  53. }