New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

chromepack

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromepack

A tool for packaging Chrome Extensions

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

chromepack

Chromepack is a small tool to simplify deployment of Chrome Extensions.

$ npm install -g chromepack

$ chromepack -c chromepack.config.json

Usage

Simply run chromepack in a directory containing a chromepack.config.json file, or use chromepack -c to specify a path to your chromepack.config.json file.

Run chromepack -h to see all options.

Configuration

The following are the options for a chromepack.config.json file:

FieldTypeDescription
manifeststringSpecify the path to the manifest.json
output.namestringThe name of the .zip archive that is generated. Supports formatting of [name], [version], [timestamp] variables.
output.pathstringThe path to the directory to generate the .zip archive in.
srcArray<string>An array of files to be included in the archive, along with files calculated from the manifest.json. Supports glob notation.
tasks.preArray<string>A array of commands to run BEFORE packing
tasks.postArray<string>A array of commands to run AFTER packing

Example:

{
  "manifest": "./manifest.json",
  "output": {
    "name": "[name].[version]"
  },
  "src": [ "!dist/*.map" ],
  "tasks": {
    "pre": [ "npm run build" ]
  }
}

FAQs

Package last updated on 16 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts