zipack

1.0.2 • Public • Published

Zipack

A npm package to create a zip file from a chrome extension resource folder.

Author: Roberto Entringer
License: MIT
Npm package: https://www.npmjs.com/package/zipack
Github: https://github.com/robertoentringer/zipack#readme

Installation

$ npm install zipack

Usage

Call script from the package.json:

"scripts": {
  "pack":  "zipack src/manifest.json"
}

Call script from the terminal:

$ npx zipack src/manifest.json

Example

src/manifest.json

{
  "name": "Getting Started Example",
  "version": "1.0",
  "description": "Build an Extension!",
  "manifest_version": 2
}
$ npx zipack src/manifest.json

Create a zip file named "Getting Started Example v.1.0.zip" from all content of the src/ directory.

Package Sidebar

Install

npm i zipack

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

4.37 kB

Total Files

6

Last publish

Collaborators

  • rentringer