From cf15318d0c9359f698a73f41b3cabfd3928f0f6d Mon Sep 17 00:00:00 2001 From: Chris Miller Date: Wed, 20 Apr 2016 09:22:50 -0700 Subject: [PATCH] Add missing jshint/istanbul dependencies. (#93) * Check if option runLivereload is set before attempting to add color to undefined string * Add missing jshint/istanbul dependencies. Cleanup npm scripts for test, jshint and jasmine --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 763bdf0..519a20b 100644 --- a/package.json +++ b/package.json @@ -69,13 +69,15 @@ "xml2js": "0.4.16" }, "devDependencies": { + "istanbul": "^0.4.3", "jasmine-node": "1.14.5", + "jshint": "^2.9.1", "rewire": "2.5.1" }, "scripts": { "test": "npm run jasmine", - "jshint": "node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint spec", - "jasmine": "jasmine-node --captureExceptions ./spec", - "cover": "node node_modules/istanbul/lib/cli.js cover --root src --print detail node_modules/jasmine-node/bin/jasmine-node -- spec-cordova spec-plugman" + "jshint": "node_modules/.bin/jshint lib spec --exclude lib/assets", + "jasmine": "node_modules/.bin/jasmine-node --captureExceptions ./spec", + "cover": "node node_modules/istanbul/lib/cli.js cover --root lib --print detail node_modules/jasmine-node/bin/jasmine-node -- spec-cordova spec-plugman" } }