New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ionic2-pgb-zipper

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ionic2-pgb-zipper

Creates a zip file to be uploaded to the PhoneGap Build from Ionic 2 app.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Ionic 2 PhoneGap Build zipper

Ionic2 PhoneGap Build zipper creates a PGB-compatible .zip archive from your Ionic 2 project.

Usage

Install

Install either as global or local package.

Global package
npm install -g ionic2-pgb-zipper
Local package
npm install --save-dev ionic2-pgb-zipper

Add NPM script

Open up your package.json file and add new entry to scripts as follows:

"scripts:" [
    "pgb": "ionic2-pgb-zipper" 
]

Build the archive

Now, run

npm run pgb

in your app's root folder.

You should now have file called pgb.zip in your root folder to be uploaded to the PhoneGap Build.

What it actually does?

  • Adds the config.xml to www
  • Adds the resources folder to www
  • Replaces all backslashes in config.xml with slashes (necessary on Windows)
  • Makes a file named pgb.zip inside the current folder

Future improvements

  • Use temp folder instead of www
  • Only replace icon and splash screen backslashes with slashes in config.xml

Keywords

FAQs

Package last updated on 30 Oct 2016

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