zipack
v1.0.2
Published
A npm package to create a zip file from a chrome extension resource folder.
Downloads
7
Maintainers
Readme
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.