Skip to content

Commit

Permalink
Use node-coveralls instead of karma-coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulhaq-e committed Jan 13, 2017
1 parent ae08f18 commit d3dd6ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ const ngtools = require('@ngtools/webpack');

const reporters = ['progress', 'jasmine-diff', 'mocha', 'karma-remap-istanbul'];

if (process.env['CI']) {
reporters.push('coverage', 'coveralls');
}

module.exports = function(karma) {
'use strict';

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"clean:pre": "rimraf release",
"clean:post": "rimraf \"src/**/*.ngfactory.ts\"",
"copy": "cpy package.json README.md release",
"coveralls": "./node_modules/coveralls/bin/coveralls.js coverage/coverage.lcov",
"build": "npm run build:js && npm run build:umd && npm run build:uglify",
"karma": "karma start",
"karma:watch": "karma start --no-single-run",
Expand All @@ -26,7 +27,7 @@
"postbuild": "npm run clean:post && npm run copy",
"test:unit": "npm run karma",
"test:unit:watch": "npm run karma:watch",
"test": "npm run test:unit && npm run lint:lib"
"test": "npm run test:unit && npm run lint:lib && npm run coveralls"
},
"authors": [
"Abdulhaq Emhemmed"
Expand Down Expand Up @@ -74,14 +75,14 @@
"codelyzer": "^2.0.0-beta.4",
"conventional-changelog-cli": "^1.1.1",
"core-js": "^2.4.1",
"coveralls": "^2.11.15",
"cpy-cli": "^1.0.1",
"deep-freeze": "^0.0.1",
"istanbul-instrumenter-loader": "^1.0.0",
"jasmine-core": "^2.4.1",
"karma": "^1.3.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-coveralls": "^1.1.2",
"karma-jasmine": "^1.1.0",
"karma-jasmine-diff-reporter": "^0.6.3",
"karma-mocha-reporter": "^2.1.0",
Expand Down

0 comments on commit d3dd6ce

Please sign in to comment.