|
|
há 10 anos atrás | |
|---|---|---|
| .. | ||
| node_modules | há 10 anos atrás | |
| index.js | há 10 anos atrás | |
| package.json | há 10 anos atrás | |
| readme.md | há 10 anos atrás | |
ZIP compress files
$ npm install --save-dev gulp-zip
var gulp = require('gulp');
var zip = require('gulp-zip');
gulp.task('default', function () {
return gulp.src('src/*')
.pipe(zip('archive.zip'))
.pipe(gulp.dest('dist'));
});
Required
Type: string
Type: boolean
Default: true
Type: string
Text information embedded in the zip file.
MIT © Sindre Sorhus