You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/09/17 00:16:55 UTC

[04/12] cordova-browser git commit: add devDeps for testing. add basic tests ( wip )

add devDeps for testing. add basic tests ( wip )


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

Branch: refs/heads/master
Commit: 8550e5f7e418f69afbd8d60d9b4ee816707c82fc
Parents: 40c8495
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue Sep 15 17:04:45 2015 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue Sep 15 17:04:45 2015 -0700

----------------------------------------------------------------------
 package.json | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-browser/blob/8550e5f7/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 29f7045..779db63 100644
--- a/package.json
+++ b/package.json
@@ -12,12 +12,21 @@
         "browser",
         "apache"
     ],
+    "scripts": {
+        "test": "npm run jshint && npm run test-unit",
+        "test-unit": "node node_modules/jasmine-node/lib/jasmine-node/cli.js --captureExceptions spec/unit",
+        "jshint": "node node_modules/jshint/bin/jshint bin && node node_modules/jshint/bin/jshint tests"
+    },
     "dependencies": {
         "adm-zip": "0.4.4",
         "cordova-serve": "^0.1.2",
         "nopt": "~3",
         "shelljs": "^0.1.4"
     },
+    "devDependencies": {
+        "jasmine-node": "~1",
+        "jshint": "^2.6.0"
+    },
     "bundledDependencies": [
         "adm-zip",
         "cordova-serve",


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