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

cordova-maint

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-maint

A command-line utility for streamlining management of cordova-based projects

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cordova-maint

Build Status

cordova-maint is a command-line utility for streamlining management of cordova-based projects.

It's in alpha.

Installation

npm install -g cordova-maint

Usage

cordova-maint is meant to be run within a cordova-based project's directory.

It needs to load configuration from cordova-maint.js in your project's directory.

You can also specify a different configuration directory using -c, --config-dir option.

Configuration

module.exports = function (config) {
  config
    .addPlugin('cordova-plugin-device')
    .addPlugin('cordova-plugin-x-socialsharing', 'https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git')
    .addPlugin('cc.fovea.cordova.purchase', {
      BILLING_KEY: function (platform) {
        if (platform === 'android') {
          return '' // the billing key for you app on Google Play Store
        }
      }
    })
}

Running

You can only update your plugins for now.

You have to specify both platform and project name.

cd MyFirstApp/
cordova-maint --platform=android --project-name=MyFirstApp update cc.fovea.cordova.purchase

FAQs

Package last updated on 12 Sep 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