Apache Cordova

Clone this repo:
  1. 784f6b4 test(fixture-helper): install android platform by name again (#843) by Raphael von der Grün · 14 hours ago master
  2. 08fc69f fix: remove unused dependency on cordova-create (#844) by Raphael von der Grün · 14 hours ago
  3. 38e3e74 chore: add package-lock.json (#841) by エリス · 3 days ago
  4. af96dc5 chore: use short notation in package.json (#840) by エリス · 3 days ago
  5. 7adf333 chore: stop testing with nightly (#839) by エリス · 4 days ago

Build status Build Status Code coverage NPM

cordova-lib

Contains npm modules used primarily by cordova and plugman.

Setup from a cloned repo

  • Clone this repository onto your local machine. git clone https://github.com/apache/cordova-lib.git
  • Install dependencies and npm-link npm install && npm link

Setup from npm

  • npm install cordova-lib

Note: you will likely also want to get github.com/apache/cordova-common, github.com/apache/cordova-create, github.com/apache/cordova-serve which previously lived in this repo but have since been moved.

npm commands

This package exposes the following commands;

  • npm run eslint - runs a linter (eslint) on relevant source and test code
  • npm run unit-tests - runs the unit tests (via jasmine) from the spec/ directory
  • npm run cover - runs istanbul code coverage tool to measure unit test code coverage
  • npm run e2e-tests - runs heavy integration tests from the integration-tests/ directory (WARNING: these take a long time to run and rely on file and network I/O)
  • npm test - shortcut for running the linter, the unit tests and the integration tests