Skip to content

apache/cordova-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8c63c3a · Dec 17, 2024
Nov 19, 2024
Apr 17, 2024
Dec 17, 2024
Dec 17, 2024
Nov 2, 2021
Oct 7, 2020
Apr 15, 2019
Nov 27, 2019
Oct 26, 2017
Oct 30, 2019
Oct 30, 2019
Sep 17, 2021
Jun 24, 2024
Apr 13, 2020
Feb 27, 2014
Feb 27, 2014
Aug 20, 2021
Oct 29, 2024
Apr 17, 2024
Jun 24, 2024
Dec 6, 2024
Nov 2, 2024

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