https://github.com/meteor/cordova-lib
Mirror of Apache Cordova
https://github.com/meteor/cordova-lib
Last synced: 5 months ago
JSON representation
Mirror of Apache Cordova
- Host: GitHub
- URL: https://github.com/meteor/cordova-lib
- Owner: meteor
- License: apache-2.0
- Fork: true (apache/cordova-lib)
- Created: 2015-07-18T03:01:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-30T07:20:49.000Z (over 9 years ago)
- Last Synced: 2024-09-25T13:04:49.054Z (8 months ago)
- Language: JavaScript
- Size: 41.2 MB
- Stars: 2
- Watchers: 18
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://ci.appveyor.com/project/Humbedooh/cordova-lib)
[](https://travis-ci.org/apache/cordova-lib)
[](https://nodei.co/npm/cordova/)[BuildBot waterfall](http://ci.cordova.io/) with [cordova-mobile-spec](https://github.com/apache/cordova-mobile-spec) running on real Android and iOS devices.
# cordova-lib
Contains npm modules used primarily by [cordova](https://github.com/apache/cordova-cli/) and [plugman](https://github.com/apache/cordova-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`