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

webworks commit: CB-7036 make npm test work again (using grunt instead of jake)

Repository: cordova-blackberry
Updated Branches:
  refs/heads/master aa76043fb -> f6d11fc1c


CB-7036 make npm test work again (using grunt instead of jake)

Apparently there used to be support for `npm test`,
it's been broken for a while because `cordova-blackberry` switched from `jake` to `grunt`.


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

Branch: refs/heads/master
Commit: f6d11fc1cc7ed398cd1c8bd740f1bfcfb956573a
Parents: aa76043
Author: Josh Soref <js...@blackberry.com>
Authored: Thu Jun 26 15:13:09 2014 -0400
Committer: Josh Soref <js...@blackberry.com>
Committed: Thu Jun 26 15:13:09 2014 -0400

----------------------------------------------------------------------
 blackberry10/package.json | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/f6d11fc1/blackberry10/package.json
----------------------------------------------------------------------
diff --git a/blackberry10/package.json b/blackberry10/package.json
index 6144a60..ff15207 100644
--- a/blackberry10/package.json
+++ b/blackberry10/package.json
@@ -17,7 +17,9 @@
     "node": ">=0.9.9"
   },
   "scripts": {
-    "test": "./node_modules/jake/bin/cli.js"
+    "test": "npm run jshint && npm run jasmine",
+    "jshint": "node_modules/grunt-cli/bin/grunt jshint",
+    "jasmine": "node_modules/grunt-cli/bin/grunt jasmine_node"
   },
   "dependencies": {
     "jWorkflow": "0.8.0",
@@ -36,6 +38,7 @@
   "devDependencies": {
     "grunt-contrib-jshint": "*",
     "grunt-jasmine-node": "*",
+    "grunt-cli": "*",
     "jasmine-node": "1.7.1"
   },
   "readmeFilename": "README.md"