Apache Cordova Tooling Library

Clone this repo:
  1. 513a4d4 chore(deps): bump ip-address from 10.2.0 to 10.4.0 (#991) by dependabot[bot] · 9 days ago master
  2. 7da4f64 chore(deps): bump undici from 6.27.0 to 6.28.0 (#993) by dependabot[bot] · 9 days ago
  3. db7c61c chore(deps-dev): bump js-yaml from 4.2.0 to 4.3.1 (#994) by dependabot[bot] · 9 days ago
  4. 87c14d7 chore(deps): bump tar from 7.5.16 to 7.5.22 (#990) by dependabot[bot] · 4 weeks ago
  5. 9ad4a84 chore(deps): Update testing/coverage deps (#989) by Darryl Pogue · 9 weeks 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 lint - 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