Skip to content

Commit

Permalink
fixed repots - karma-coverage 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroMMM committed Aug 26, 2015
1 parent 7354b6f commit eec8265
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 73 deletions.
8 changes: 6 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
142 changes: 71 additions & 71 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit eec8265

Please sign in to comment.