Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pre-gyp-pack

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

pre-gyp-pack

automate packing for various versions node or electron

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-pre-gyp

This is dev-tool for automatical packaging and uploading to GitHub a release files prebuil with node-pre-gyp for any platform/version/arch

Instalation

npm i -D pre-gyp-pack

Configuration

add to package.json

  • OWNER is owner from github
  • REPO is a repository name
  • VERSION is a tag name
  • NPM-NAME package name from npmjs.com
  "pre-gyp-pack":{
    "owner":"OWNER",
    "repo":"REPO",
    "platforms":{
      "electron":{
        "1.6.10":["x64","ia32"],
        "1.5.0":["ia32","x64"]
      },
      "node":{
        "6.10.2":["x64","ia32"]
      }
    }
  },
  "scripts": {
    "package":"pre-gyp-pack",

do not forget to change this lines

  "binary": {
    "module_name": "NPM-NAME",
    "host": "https://github.com/OWNER/REPO/releases/download/VERSION"
  },

Keywords

FAQs

Package last updated on 03 Jun 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc