zipper-config

0.0.4 • Public • Published

Zipper

Overview

A command line utility to zip your files. Uses a .zipconfig to name the zipped files as well as an excludes listing for what files / directories to exclude. This works well as an npm script, most commonly used to package up cloud / lambda functions.

Install

npm install --save-dev zipper-config

Use

npm script

...
"script": {
  ...
  "zip": "zipper-config" // or zipper-config --path <path to .zipconfig>
}

.zipconfig

name: 'zipper'
exclude:
 - .git
 - test/
 - README.md
hooks: <-- to come
  pre:
    - npm run build
  post:
    - lifecycle/post.js

Package Sidebar

Install

npm i zipper-config

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

3.34 kB

Total Files

9

Last publish

Collaborators

  • shaunwarman