download-builds-from-phonegap
v1.0.9
Published
Download the phonegap builds to your hard drive or SSD :-)
Downloads
5
Maintainers
Readme
download build from Phonegap Build
downloads the Android and iOS package to Phonegap Build
Installation
npm install -g download-builds-from-phonegap
Usage:
You can import this script inside your NodeJS application:
First you need it installed locally:
npm install download-builds-from-phonegap --save-dev
Once you've done this you can use it in code:
var ionicToPhonegap = require('ionic-to-phonegap-build');
ionicToPhonegap.sendToPhonegapBuild('Your Phonegap app id', 'Your Phonega auth token', isDebugBoolean[true/false]);
Parameters
Phonegap application id
ex '2334553'
Phonegap token id
ex 'qfqfggFDGSsgdggs'
callback
Execute with npm scripts
Create js file
Create a phbuild.js file with following contents:
var ionicToPhonegap = require('ionic-to-phonegap-build');
ionicToPhonegap.sendToPhonegapBuild('2922066', 'D9eKg6fdggjuxjskEbGm4KZy', true);
Add script in package.json
in your package.json add following script in the scripts section:
scripts: {
"phbuild": "node phbuild.js"
},
Run it
Now you can run it manually:
npm run phbuild