CB-9087 updated pinned cordova-android to 4.0.2
1 file changed
tree: ac47a4885fa84ce6a751f45f0eedf29c06a5c7b6
  1. cordova-lib/
  2. .gitignore
  3. .travis.yml
  4. appveyor.yml
  5. CONTRIBUTING.md
  6. LICENSE
  7. NOTICE
  8. README.md
README.md

Build status Build Status npm version
BuildBot waterfall with cordova-mobile-spec running on real Android and iOS devices.

cordova-lib

Contains npm modules used primarily by cordova and plugman.

Setup

  • 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