Skip to content

Commit

Permalink
ci(webpack): add coveralls reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBGod committed Apr 16, 2017
1 parent 7c58c5a commit 0c90a17
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
@@ -1,7 +1,7 @@
[![npm version](https://img.shields.io/npm/v/ngx-scrollspy.svg?style=flat)](https://www.npmjs.com/package/ngx-scrollspy)
[![Build Status](https://img.shields.io/travis/JonnyBGod/ngx-scrollspy/master.svg?style=flat)](https://travis-ci.org/JonnyBGod/ngx-scrollspy)
[![Codacy Badge](https://api.codacy.com/project/badge/grade/bafd522f82da48fda8bb25bee689b32f)](https://www.codacy.com/app/JonnyBGod/ngx-scrollspy)
[![Coverage Status](https://coveralls.io/repos/JonnyBGod/ngx-scrollspy/badge.svg?branch=master&service=github)](https://coveralls.io/github/JonnyBGod/ngx-scrollspy?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fc203d3b26f745b4af0251228dde6b2e)](https://www.codacy.com/app/jonnybgod/ngx-scrollspy?utm_source=github.com&utm_medium=referral&utm_content=JonnyBGod/ngx-scrollspy&utm_campaign=Badge_Grade)
[![Coverage Status](https://coveralls.io/repos/github/JonnyBGod/ngx-scrollspy/badge.svg?branch=master)](https://coveralls.io/github/JonnyBGod/ngx-scrollspy?branch=master)
[![devDependency Status](https://david-dm.org/JonnyBGod/ngx-scrollspy/dev-status.svg)](https://david-dm.org/JonnyBGod/ngx-scrollspy#info=devDependencies)

[![NPM downloads](https://img.shields.io/npm/dm/ngx-scrollspy.svg)](https://npmjs.org/package/ngx-scrollspy)
Expand Down
5 changes: 3 additions & 2 deletions karma.conf.js
Expand Up @@ -26,14 +26,15 @@ module.exports = function(config) {
reporters: [
{ type: 'text-summary' },
{ type: 'json' },
{ type: 'html' }
{ type: 'html' },
{ type: 'lcov' }
]
},

// Webpack please don't spam the console when running in karma!
webpackServer: { noInfo: true },

reporters: [ 'mocha', 'coverage' ],
reporters: [ 'mocha', 'coverage', 'coveralls' ],

// web server port
port: 9876,
Expand Down
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -24,6 +24,7 @@
"karma": "^1.6.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-coveralls": "^1.1.2",
"karma-jasmine": "^1.1.0",
"karma-mocha-reporter": "^2.2.3",
"karma-sourcemap-loader": "^0.3.7",
Expand Down Expand Up @@ -58,8 +59,9 @@
"build": "ngc && webpack",
"semantic-release": "semantic-release pre && npm run build && npm publish && semantic-release post"
},
"main": "./dist/index",
"typings": "./dist/index.d.ts",
"main": "dist/core.umd.js",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/jonnybgod/ngx-scrollspy.git"
Expand Down

0 comments on commit 0c90a17

Please sign in to comment.