You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ka...@apache.org on 2014/06/20 01:41:18 UTC
git commit: CB-6986 make npm run jshint work without a global jshint
Repository: cordova-lib
Updated Branches:
refs/heads/master e59181b51 -> d23aee39b
CB-6986 make npm run jshint work without a global jshint
Add jshint to dev-deps in package.json and use it instead of relying on a
global jshint.
github: close #37
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/d23aee39
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/d23aee39
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/d23aee39
Branch: refs/heads/master
Commit: d23aee39bf92e70eca8cb5defb6c0066a071c210
Parents: e59181b
Author: Josh Soref <js...@blackberry.com>
Authored: Thu Jun 19 16:00:04 2014 -0400
Committer: Mark Koudritsky <ka...@gmail.com>
Committed: Thu Jun 19 19:39:35 2014 -0400
----------------------------------------------------------------------
cordova-lib/package.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d23aee39/cordova-lib/package.json
----------------------------------------------------------------------
diff --git a/cordova-lib/package.json b/cordova-lib/package.json
index 9084e4e..ab31c2e 100644
--- a/cordova-lib/package.json
+++ b/cordova-lib/package.json
@@ -39,11 +39,12 @@
},
"devDependencies": {
"temp": "0.6.x",
+ "jshint": "2.5.x",
"jasmine-node": "~1"
},
"scripts": {
"test": "npm run jasmine && npm run jshint",
- "jshint": "jshint src",
+ "jshint": "node node_modules/jshint/bin/jshint src",
"jasmine": "jasmine-node --color spec-plugman spec-cordova"
},
"contributors": [