robertoentringer / zipack

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

Home Page:https://www.npmjs.com/package/zipack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://www.npmjs.com/package/zipack

License:MIT License


Languages

Language:JavaScript 100.0%