2.1.0 • Published 7 years ago

fly-zip v2.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

fly-zip npm package

ZIP compress files with Fly.

Install

npm install --save-dev fly-zip

Usage

This will produces a ZIP at releases/Archive.zip, containing all contents within the dist directory.

exports.zip = function * (fly) {
  yield fly.source('dist/**/*').zip({
    dest: 'releases',
    file: 'Archive.zip'
  });
};

API

.zip(options)

options.dest

Type: string Default: '.'

The directory where the ZIP should be placed. Defaults to Fly's root directory, where flyfile.js is located.

options.file

Type: string Default: 'archive.zip'

The name of your ZIP file. It must include .zip.

License

MIT © Luke Edwards

2.1.0

7 years ago

2.0.0

8 years ago

1.0.0

8 years ago

0.0.0

8 years ago