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
$ npm install zipack
Call script from the package.json:
"scripts": {
"pack": "zipack src/manifest.json"
}
Call script from the terminal:
$ npx zipack src/manifest.json
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.