{"_id":"@aptuitiv/gulp-clean-css","_rev":"1-09ebd1641d425393ec24425a9bc9cbac","name":"@aptuitiv/gulp-clean-css","dist-tags":{"latest":"4.4.3"},"versions":{"4.4.2":{"name":"@aptuitiv/gulp-clean-css","description":"Minify css with clean-css.","homepage":"https://github.com/aptuitiv/gulp-clean-css","version":"4.4.2","author":{"name":"scniro and aptuitiv"},"license":"MIT","bugs":{"url":"https://github.com/aptuitiv/gulp-clean-css/issues"},"repository":{"type":"git","url":"git+https://github.com/aptuitiv/gulp-clean-css.git"},"keywords":["css","clean","minify","uglify","clean-css","minify-css","gulp-minify-css","gulp-clean-css","gulpplugin","gulpfriendly"],"nyc":{"report-dir":"./.coverage","reporter":["lcov","text"],"include":["index.js"],"sourceMap":false,"temp-dir":"./.coverage/.nyc_output"},"dependencies":{"clean-css":"^5.3.2","plugin-error":"2.0.1","sass":"^1.60.0","through2":"4.0.2","vinyl-sourcemaps-apply":"0.2.1"},"devDependencies":{"chai":"4.3.7","chai-string":"1.5.0","coveralls":"3.1.1","express":"4.18.2","fancy-log":"2.0.0","gulp":"4.0.2","gulp-concat":"2.6.1","gulp-rename":"2.0.0","gulp-sass":"5.1.0","gulp-sourcemaps":"3.0.0","mocha":"10.2.0","nyc":"15.1.0","vinyl":"3.0.0"},"scripts":{"cover":"nyc npm test","test":"mocha ./index.spec.js"},"gitHead":"c5461ebbc372317ab285502ff3de0770aee158b2","_id":"@aptuitiv/gulp-clean-css@4.4.2","_nodeVersion":"17.2.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-lwrdQk/+bzKgTsbduBNDgJq/3rFH8Zlwk9OLqZUdtTdEEigbHyKr6kdadrhW/4sNa0XVcxbA+OjhRKTVKIIufw==","shasum":"9ef3303100ce01cff0b8c0514a94f65f10baffe8","tarball":"https://registry.npmjs.org/@aptuitiv/gulp-clean-css/-/gulp-clean-css-4.4.2.tgz","fileCount":4,"unpackedSize":6724,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDuf04s31RkvWb/0cdoD1+15xlQIzD3sohfKRTZ7Lf7aAiEAr6njZx+13zEfIPjmamKYR2J6rlsE+e4fOAUFauRHk7E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHtsfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKAg/+IckAsyCejnx0DC/RrtwGfPuNN8mLtVHUIcRfgDR1B/Z4C/7d\r\nZbATcJ/ofCGgBI+wgw8cgiuMio0GQGxUYXPK/fEO5OFcnS9qlETrcWC5E5dN\r\ns2T0QS9Jc0OGB5vG5hmhdb4QIKoBAQBoMRcyaxiv3OqCo5j4TF2vNcfsgv99\r\n5aLMUFnAGQUN/oSw4TQBlv/ddmHpKMTznRfB6jQFVJ4+JvIYyQ0ZTs8dx3Q0\r\n8f+WYAxqKoIcV1foag1D2xtS3KftyusHVwoUywx7guNGL0+wghkqC0hzniDL\r\nJBHQfZIusXM0gQ7k/RrvImdB1rXx/MsNRuIQcVN1Pc045z1sVryJ8VNZmgMd\r\nnsj7leGswE/SAmCqiIWbWss/W8YyhF2UJurztG6yl3Vaf5XFC5s7S0lXX8mu\r\nsUv1pdmpOMb5CIFR1GpjI0QP0iW2PkRWAhEgCTkXxnnCzrZrXLwaAfjY8r0y\r\nI/XrTPdEBSSNEAP3k+D6DMBFdAK6u5ftBlkAMNj8Ixn0Vo5QHnPxpxP86kac\r\nnsSx3YHBidfxgXMAXGopf3MsV92gknhK1AaGAmL2rZ1gKdnE1304r1VuCI2P\r\nud7tMUObe8MOlNClNatBJj9PnfVIYvnybfD2ttqWpN5pdiaSnXTwKZKbzfU4\r\njF6SihBjUBxV22pyhF7CpLMu6YC0ul9icgw=\r\n=wqA/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"erictompkins","email":"eric@aptuitiv.com"},"directories":{},"maintainers":[{"name":"erictompkins","email":"eric@aptuitiv.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-clean-css_4.4.2_1679743775360_0.7099355281254744"},"_hasShrinkwrap":false},"4.4.3":{"name":"@aptuitiv/gulp-clean-css","description":"Minify css with clean-css.","homepage":"https://github.com/aptuitiv/gulp-clean-css","version":"4.4.3","author":{"name":"scniro and aptuitiv"},"license":"MIT","bugs":{"url":"https://github.com/aptuitiv/gulp-clean-css/issues"},"repository":{"type":"git","url":"git+https://github.com/aptuitiv/gulp-clean-css.git"},"keywords":["css","clean","minify","uglify","clean-css","minify-css","gulp-minify-css","gulp-clean-css","gulpplugin","gulpfriendly"],"nyc":{"report-dir":"./.coverage","reporter":["lcov","text"],"include":["index.js"],"sourceMap":false,"temp-dir":"./.coverage/.nyc_output"},"dependencies":{"clean-css":"^5.3.2","plugin-error":"2.0.1","sass":"^1.60.0","through2":"4.0.2","vinyl-sourcemaps-apply":"0.2.1"},"devDependencies":{"chai":"4.3.7","chai-string":"1.5.0","coveralls":"3.1.1","express":"4.18.2","fancy-log":"2.0.0","gulp":"4.0.2","gulp-concat":"2.6.1","gulp-rename":"2.0.0","gulp-sass":"5.1.0","gulp-sourcemaps":"3.0.0","mocha":"10.2.0","nyc":"15.1.0","vinyl":"3.0.0"},"scripts":{"cover":"nyc npm test","test":"mocha ./index.spec.js"},"gitHead":"e4e002383dbb9f9fe467cc80efdd12ba75d30a0a","_id":"@aptuitiv/gulp-clean-css@4.4.3","_nodeVersion":"17.2.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-/7rSjw1q9wS5RBbMz7A+oBLaanrc8syYgamykiOgQ+1f9YXTOmU1BN/A+zfE2jx2lgHiPV0NDEGJs0AvIjYoow==","shasum":"1f3330350e446bd38c4559ec623437f45fdecf06","tarball":"https://registry.npmjs.org/@aptuitiv/gulp-clean-css/-/gulp-clean-css-4.4.3.tgz","fileCount":4,"unpackedSize":6690,"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\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"erictompkins","email":"eric@aptuitiv.com"},"directories":{},"maintainers":[{"name":"erictompkins","email":"eric@aptuitiv.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-clean-css_4.4.3_1679743991481_0.10643124213055088"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-25T11:29:35.186Z","4.4.2":"2023-03-25T11:29:35.509Z","modified":"2023-03-25T11:33:11.755Z","4.4.3":"2023-03-25T11:33:11.628Z"},"maintainers":[{"name":"erictompkins","email":"eric@aptuitiv.com"}],"description":"Minify css with clean-css.","homepage":"https://github.com/aptuitiv/gulp-clean-css","keywords":["css","clean","minify","uglify","clean-css","minify-css","gulp-minify-css","gulp-clean-css","gulpplugin","gulpfriendly"],"repository":{"type":"git","url":"git+https://github.com/aptuitiv/gulp-clean-css.git"},"author":{"name":"scniro and aptuitiv"},"bugs":{"url":"https://github.com/aptuitiv/gulp-clean-css/issues"},"license":"MIT","readme":"# gulp-clean-css\n\nThis is a fork of [gulp-clean-css](https://github.com/scniro/gulp-clean-css) to update it use the latest versions of it's dependent libraries.\n\n> [gulp](http://gulpjs.com/) plugin to minify CSS, using [clean-css](https://github.com/jakubpawlowicz/clean-css)\n\n## Regarding Issues\n\nThis is just a simple [gulp](https://github.com/gulpjs/gulp) plugin, which means it's nothing more than a thin wrapper around `clean-css`. If it looks like you are having CSS related issues, please contact [clean-css](https://github.com/jakubpawlowicz/clean-css/issues). Only create a new issue if it looks like you're having a problem with the plugin itself.\n\n## Install\n\n```\nnpm install @aptuitiv/gulp-clean-css --save-dev\n```\n\n## API\n\n### cleanCSS([*options*], [*callback*])\n\n#### options\n\nSee the [`CleanCSS` options](https://github.com/jakubpawlowicz/clean-css#how-to-use-clean-css-api).\n\n```javascript\nconst gulp = require('gulp');\nconst cleanCSS = require('gulp-clean-css');\n\ngulp.task('minify-css', () => {\n  return gulp.src('styles/*.css')\n    .pipe(cleanCSS({compatibility: 'ie8'}))\n    .pipe(gulp.dest('dist'));\n});\n```\n\n#### callback\n\nUseful for returning details from the underlying [`minify()`](https://github.com/jakubpawlowicz/clean-css#using-api) call. An example use case could include logging `stats` of the minified file. In addition to the default object, `gulp-clean-css` provides the file `name` and `path` for further analysis.\n\n```javascript\nconst gulp = require('gulp');\nconst cleanCSS = require('gulp-clean-css');\n\ngulp.task('minify-css', () => {\n  return gulp.src('styles/*.css')\n    .pipe(cleanCSS({debug: true}, (details) => {\n      console.log(`${details.name}: ${details.stats.originalSize}`);\n      console.log(`${details.name}: ${details.stats.minifiedSize}`);\n    }))\n  .pipe(gulp.dest('dist'));\n});\n```\n\n[Source Maps](http://www.html5rocks.com/tutorials/developertools/sourcemaps/) can be generated by using [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps).\n\n```javascript\n\nconst gulp = require('gulp');\nconst cleanCSS = require('gulp-clean-css');\nconst sourcemaps = require('gulp-sourcemaps');\n\ngulp.task('minify-css',() => {\n  return gulp.src('./src/*.css')\n    .pipe(sourcemaps.init())\n    .pipe(cleanCSS())\n    .pipe(sourcemaps.write())\n    .pipe(gulp.dest('dist'));\n});\n```\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}