Apache Cordova

Clone this repo:
  1. 06b79d7 updated cordova-common dep for cordova-fetch to 1.4.0 by Steve Gill · 1 year, 3 months ago master
  2. acb7b0a CB-11205 Respect saved variables when installing plugin by Nikita Matrosov · 1 year, 3 months ago
  3. 29382ca CB-9825 framework tag spec parsing by juliascript · 1 year, 4 months ago
  4. f05874a CB-11589: Fix missing plugin files after restore by Darryl Pogue · 1 year, 3 months ago
  5. 1228fdc CB-11569 Incremented package versions to -dev by Vladimir Kotikov · 1 year, 3 months ago

Build status Build Status Code coverage NPM

BuildBot waterfall with cordova-mobile-spec running on real Android and iOS devices.


Contains npm modules used primarily by cordova and plugman.

:warning: Report issues on the Apache Cordova issue tracker


  • Clone this repository onto your local machine. git clone https://git-wip-us.apache.org/repos/asf/cordova-lib.git
  • In terminal, navigate to the inner cordova-lib directory. cd cordova-lib/cordova-lib
  • Install dependencies and npm-link npm install && npm link
  • Navigate to CLI and Plugman directories and link cordova-lib cd ../../cordova-cli && npm link cordova-lib && npm install cd ../../cordova-plugman && npm link cordova-lib && npm install

NPM commands

This package exposes the following commands;

  • npm run jshint - runs jshint check against all js files

  • npm run jasmine - runs jasmine tests from spec-plugman and spec-cordova directories

  • npm run cover - runs istanbul code coverage tool to measure tests coverage

  • npm test - shortcut for npm run jshint && npm run jasmine