You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/12/23 19:44:21 UTC

[2/2] cordova-lib git commit: Updates README with description of npm commands for this package

Updates README with description of npm commands for this package


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/8b75ac2e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/8b75ac2e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/8b75ac2e

Branch: refs/heads/master
Commit: 8b75ac2e3179a65a2837365bdeab2f4606e3c80f
Parents: 07a4dab
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Tue Dec 9 11:05:03 2014 +0300
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue Dec 23 13:44:13 2014 -0500

----------------------------------------------------------------------
 README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/8b75ac2e/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index c28cae4..d466bb2 100644
--- a/README.md
+++ b/README.md
@@ -37,3 +37,13 @@ Contains npm modules used primarily by [cordova](https://github.com/apache/cordo
 * 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`


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org