cordovap

cli script that installs and uninstalls cordova plugins from a plugins.json file

Usage no npm install needed!

<script type="module">
  import cordovap from 'https://cdn.skypack.dev/cordovap';
</script>

README

cordovap

Cli script that installs and uninstalls cordova plugins from a plugins.json file

Installation

 $ sudo npm install cordovap -g

Usage

Create an empty plugins.json file

 $ cordovap init

Add your plugins to the file so it would look something like this:

 [
     "org.apache.cordova.device",
     "org.apache.cordova.console",
     "org.apache.cordova.inappbrowser",
     "org.apache.cordova.splashscreen",
     "org.apache.cordova.network-information",
     "org.apache.cordova.dialogs",
     "org.apache.cordova.media",
     "git://github.com/j3k0/PhoneGap-InAppPurchase-iOS.git",
     "https://github.com/VersoSolutions/CordovaClipboard",
     "https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git",
     "https://github.com/katzer/cordova-plugin-email-composer.git"
 ]

Install all plugins at once

 $ cordovap install

Uninstall all plugins at once

 $ cordovap uninstall

Re-install all plugins (uninstall then install)

 $ cordovap reinstall

More

cordova-icon automates icon resizing for cordova

License

MIT