From 4617653ebb23c493cdca5b3dc7733378c85f649c Mon Sep 17 00:00:00 2001 From: ddouglasz Date: Mon, 12 Mar 2018 14:47:27 +0100 Subject: [PATCH] chore(bugfix): rectify issue with readme badges --- README.md | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ee54a81..4e013c4 100644 --- a/README.md +++ b/README.md @@ -37,5 +37,5 @@ npm run test [![Build Status](https://travis-ci.org/ddouglasz/We-connect.svg?branch=serverside)](https://travis-ci.org/ddouglasz/We-connect) -[![Coverage Status](https://coveralls.io/repos/github/ddouglasz/We-connect/badge.svg?branch=ft-dummydata-tests-155738981)](https://coveralls.io/github/ddouglasz/We-connect?branch=ft-dummydata-tests-155738981) +[![Coverage Status](https://coveralls.io/repos/github/ddouglasz/We-connect/badge.svg?branch=serverside)](https://coveralls.io/github/ddouglasz/We-connect?branch=serverside) [![Maintainability](https://api.codeclimate.com/v1/badges/3353fa511defef2f1372/maintainability)](https://codeclimate.com/github/ddouglasz/We-connect/maintainability) diff --git a/package.json b/package.json index 36d8b28..4a93380 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "build": "babel server -d server/dist --copy-files --ignore server/dist", "test": "nyc --reporter=html --reporter=text mocha ./server/test/**/*.js --exit --compilers js:babel-register", "postinstall": "npm run build", - "coverage": "nyc report --reporter=text-lcov ", - "report-coverage": "cat ./coverage/lcov.info ", + "coverage": "nyc report --reporter=text-lcov | coveralls", + "report-coverage": "cat ./coverage/lcov.info | coveralls", "coveralls": "nyc --reporter=lcov --reporter=text-lcov npm test" }, "author": "douglas",