https://github.com/robertoentringer/zipack
A npm package to create a zip file from a chrome extension resource folder.
https://github.com/robertoentringer/zipack
chrome chrome-extension compress npm npm-package package zip
Last synced: about 2 months ago
JSON representation
A npm package to create a zip file from a chrome extension resource folder.
- Host: GitHub
- URL: https://github.com/robertoentringer/zipack
- Owner: robertoentringer
- License: mit
- Created: 2019-06-16T00:56:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-20T15:21:42.000Z (over 5 years ago)
- Last Synced: 2025-03-30T17:13:41.726Z (about 1 year ago)
- Topics: chrome, chrome-extension, compress, npm, npm-package, package, zip
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/zipack
- Size: 8.95 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zipack
A npm package to create a zip file from a chrome extension resource folder.
Author: [Roberto Entringer](https://robertoentringer.com)
License: MIT
Npm package: https://www.npmjs.com/package/zipack
Github: https://github.com/robertoentringer/zipack#readme
## Installation
```shell
$ npm install zipack
```
## Usage
Call script from the **package.json**:
```json
"scripts": {
"pack": "zipack src/manifest.json"
}
```
Call script from the **terminal**:
```shell
$ npx zipack src/manifest.json
```
## Example
**src/manifest.json**
```json
{
"name": "Getting Started Example",
"version": "1.0",
"description": "Build an Extension!",
"manifest_version": 2
}
```
```shell
$ npx zipack src/manifest.json
```
> Create a zip file named **"Getting Started Example v.1.0.zip"** from all content of the **src/** directory.