{"name":"gulp-babel-minify","version":"0.4.0-alpha.f95869d4","description":"Babel Minify plugin for Gulp","keywords":["babel-minify","babel-preset"],"homepage":"https://github.com/babel/minify#readme","bugs":{"url":"https://github.com/babel/minify/issues"},"license":"MIT","author":{"name":"boopathi"},"main":"lib/index.js","repository":{"type":"git","url":"https://github.com/babel/minify/tree/master/packages/gulp-babel-minify"},"dependencies":{"@babel/core":"7.0.0-beta.40","babel-preset-minify":"^0.4.0-alpha.f95869d4","plugin-error":"^1.0.1","through2":"^2.0.3","vinyl-sourcemaps-apply":"^0.2.1"},"readmeFilename":"README.md","readme":"# gulp-babel-minify\n\n## Installation\n\n```sh\nnpm install gulp-babel-minify --save-dev\n```\n\n## Usage\n\n```js\nconst gulp = require(\"gulp\");\nconst minify = require(\"gulp-babel-minify\");\n\ngulp.task(\"minify\", () =>\n  gulp.src(\"./build/app.js\")\n    .pipe(minify({\n      mangle: {\n        keepClassName: true\n      }\n    }))\n    .pipe(gulp.dest(\"./dist\"));\n);\n```\n\n## API\n\n```js\ngulpBabelMinify(minifyOptions, overrides);\n```\n\n### minifyOptions\n\nThese are passed on to the minify preset. Refer https://github.com/babel/minify/tree/master/packages/babel-preset-minify#options. Default `{}`\n\n### Overrides\n\nDefault: `{}`\n\n+ `babel`: Use a custom `@babel/core`\n+ `minifyPreset`: Use a custom `babel-preset-minify`\n","_id":"gulp-babel-minify@0.4.0-alpha.f95869d4","dist":{"shasum":"b37a6b6914b3ae2737d9af180d033a32efb61c07","tarball":"http://registry-npm.ywwl.com/gulp-babel-minify/download/gulp-babel-minify-0.4.0-alpha.f95869d4.tgz","fileCount":5,"unpackedSize":3966,"integrity":"sha512-bMOjdf+sqOpDKzCEUroiwhOThcKC4MSeLLXNeU8J5aY4NW2yC3p+O5EoTj5tz22cbEIcZxFgXB3SDEOcP2/FhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo6879PzZyz4dkOQjdxRXF5IeX0shz5c9Is/xxWq3eBwIgcVebv4MRfrDUJgWm3vG3rf8YGachPt5PZIYGTdCMxlQ="}],"size":1650,"noattachment":false,"key":"/gulp-babel-minify/-/gulp-babel-minify-0.4.0-alpha.f95869d4.tgz"},"maintainers":[{"email":"asciiguyfieri@gmail.com","name":"babeljs"},{"email":"me@boopathi.in","name":"boopathi"},{"email":"hi@henryzoo.com","name":"hzoo"},{"email":"loganfsmyth@gmail.com","name":"loganfsmyth"},{"email":"vignesh.shanmugam22@gmail.com","name":"vignesh.shanmugam"}],"_npmUser":{"name":"babeljs","email":"asciiguyfieri@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-babel-minify_0.4.0-alpha.f95869d4_1519852138320_0.9426858366130311"},"_hasShrinkwrap":false,"publish_time":1519852138447,"_cnpm_publish_time":1519852138447,"dist-tags":{"canary":"0.6.0-alpha.9","latest":"0.5.2"}}