From eec8265ec2eef0467c8b664616480f1fd274cb39 Mon Sep 17 00:00:00 2001 From: Pedro Medeiros Date: Tue, 25 Aug 2015 22:26:26 -0400 Subject: [PATCH] fixed repots - karma-coverage 0.4.2 --- gulpfile.js | 8 ++- package.json | 142 +++++++++++++++++++++++++-------------------------- 2 files changed, 77 insertions(+), 73 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index c7b290f..9c45112 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -290,13 +290,17 @@ function startTests(singleRun, cb) { singleRun: !!singleRun }; - karma.start(options, karmaCompleted); + karma.start({ + configFile: __dirname + '/karma.conf.js', + exclude: excludeFiles, + singleRun: !!singleRun + }, karmaCompleted); // karma = new Server(options, [karmaCompleted]); // karma.start(); function karmaCompleted(karmaResult) { - log('karma completed!'); + log('Karma completed!'); if (karmaResult === 1) { cb('karma: tests failed with code ' + karmaResult); } else { diff --git a/package.json b/package.json index 0e0314f..f3fa626 100644 --- a/package.json +++ b/package.json @@ -1,75 +1,75 @@ { - "name": "Pluralsight-Gulp", - "version": "0.1.0", - "description": "Starter Code for Pluralsight Course JavaScript Build Automation with Gulp.js", - "authors": [ + "name": "Pluralsight-Gulp", + "version": "0.1.0", + "description": "Starter Code for Pluralsight Course JavaScript Build Automation with Gulp.js", + "authors": [ "John Papa" ], - "license": "MIT", - "homepage": "https://github.com/johnpapa/pluralsight-gulp", - "repository": { - "type": "git", - "url": "https://github.com/johnpapa/pluralsight-gulp.git" - }, - "scripts": { - "init": "npm install", - "install": "bower install", - "start": "node src/server/app.js" - }, - "dependencies": { - "body-parser": "^1.8.2", - "compression": "^1.1.0", - "cors": "^2.2.0", - "express": "^4.9.3", - "morgan": "^1.1.1", - "serve-favicon": "^2.0.1" - }, - "devDependencies": { - "browser-sync": "^2.8.2", - "chai": "^3.2.0", - "del": "^1.2.1", - "gulp": "^3.9.0", - "gulp-angular-templatecache": "^1.7.0", - "gulp-autoprefixer": "^2.3.1", - "gulp-bump": "^0.3.1", - "gulp-csso": "^1.0.0", - "gulp-filter": "^3.0.1", - "gulp-if": "^1.2.5", - "gulp-imagemin": "^2.3.0", - "gulp-inject": "^1.5.0", - "gulp-jscs": "^2.0.0", - "gulp-jshint": "^1.11.2", - "gulp-less": "^3.0.3", - "gulp-load-plugins": "^0.10.0", - "gulp-minify-html": "^1.0.4", - "gulp-ng-annotate": "^1.1.0", - "gulp-nodemon": "^2.0.4", - "gulp-plumber": "^1.0.1", - "gulp-print": "^1.1.0", - "gulp-rev": "^6.0.0", - "gulp-rev-replace": "^0.4.2", - "gulp-task-listing": "^1.0.1", - "gulp-uglify": "^1.3.0", - "gulp-useref": "^1.3.0", - "gulp-util": "^3.0.6", - "jshint-stylish": "^2.0.1", - "karma": "^0.13.9", - "karma-chai": "^0.1.0", - "karma-chai-sinon": "^0.1.5", - "karma-chrome-launcher": "^0.2.0", - "karma-coverage": "^0.5.0", - "karma-growl-reporter": "^0.1.1", - "karma-mocha": "^0.2.0", - "karma-phantomjs-launcher": "^0.2.1", - "karma-sinon": "^1.0.4", - "lodash": "^3.10.1", - "mocha": "^2.2.5", - "mocha-clean": "^0.4.0", - "node-notifier": "^4.2.3", - "phantomjs": "^1.9.18", - "sinon": "^1.16.1", - "sinon-chai": "^2.8.0", - "wiredep": "^2.2.2", - "yargs": "^3.21.0" - } + "license": "MIT", + "homepage": "https://github.com/johnpapa/pluralsight-gulp", + "repository": { + "type": "git", + "url": "https://github.com/johnpapa/pluralsight-gulp.git" + }, + "scripts": { + "init": "npm install", + "install": "bower install", + "start": "node src/server/app.js" + }, + "dependencies": { + "body-parser": "^1.8.2", + "compression": "^1.1.0", + "cors": "^2.2.0", + "express": "^4.9.3", + "morgan": "^1.1.1", + "serve-favicon": "^2.0.1" + }, + "devDependencies": { + "browser-sync": "^2.8.2", + "chai": "^3.2.0", + "del": "^1.2.1", + "gulp": "^3.9.0", + "gulp-angular-templatecache": "^1.7.0", + "gulp-autoprefixer": "^2.3.1", + "gulp-bump": "^0.3.1", + "gulp-csso": "^1.0.0", + "gulp-filter": "^3.0.1", + "gulp-if": "^1.2.5", + "gulp-imagemin": "^2.3.0", + "gulp-inject": "^1.5.0", + "gulp-jscs": "^2.0.0", + "gulp-jshint": "^1.11.2", + "gulp-less": "^3.0.3", + "gulp-load-plugins": "^0.10.0", + "gulp-minify-html": "^1.0.4", + "gulp-ng-annotate": "^1.1.0", + "gulp-nodemon": "^2.0.4", + "gulp-plumber": "^1.0.1", + "gulp-print": "^1.1.0", + "gulp-rev": "^6.0.0", + "gulp-rev-replace": "^0.4.2", + "gulp-task-listing": "^1.0.1", + "gulp-uglify": "^1.3.0", + "gulp-useref": "^1.3.0", + "gulp-util": "^3.0.6", + "jshint-stylish": "^2.0.1", + "karma": "^0.13.9", + "karma-chai": "^0.1.0", + "karma-chai-sinon": "^0.1.5", + "karma-chrome-launcher": "^0.2.0", + "karma-coverage": "0.4.2", + "karma-growl-reporter": "^0.1.1", + "karma-mocha": "^0.2.0", + "karma-phantomjs-launcher": "^0.2.1", + "karma-sinon": "^1.0.4", + "lodash": "^3.10.1", + "mocha": "^2.2.5", + "mocha-clean": "^0.4.0", + "node-notifier": "^4.2.3", + "phantomjs": "^1.9.18", + "sinon": "^1.16.1", + "sinon-chai": "^2.8.0", + "wiredep": "^2.2.2", + "yargs": "^3.21.0" + } }