CB-9103 Updated version and RELEASENOTES.md for release 4.3.1
2 files changed
tree: 18212665edf180dd274a64b7b55995e705654b54
  1. cordova-lib/
  2. .gitignore
  3. .reviewboardrc
  4. .travis.yml
  5. appveyor.yml
  6. CONTRIBUTING.md
  7. LICENSE
  8. NOTICE
  9. 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