agrieve / cordova-lib

Mirror of Apache Cordova

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Mirror of Apache Cordova

License:Apache License 2.0


Languages

Language:JavaScript 46.8%Language:C++ 19.0%Language:Objective-C 14.9%Language:Java 12.1%Language:Shell 2.8%Language:C# 2.7%Language:CSS 1.5%Language:C 0.2%Language:MATLAB 0.0%