Skip to content

Commit

Permalink
fix readme, add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleeye committed Nov 2, 2015
1 parent 178cc8e commit c5c086c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1 +1,2 @@
node_modules
node_modules
coverage
7 changes: 5 additions & 2 deletions .travis.yml
@@ -1,5 +1,8 @@
language: node_js
node_js:
- iojs
- stable
- 4.2
- 0.12
- 0.10
- 0.10
sudo: false
after_success: "npm run coveralls"
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
chai-pretty-expect [![npm version](https://badge.fury.io/js/chai-pretty-expect.svg)](http://badge.fury.io/js/chai-pretty-expect) [![Build Status](https://travis-ci.org/e-conomic/chai-pretty-expect.svg?branch=master)](https://travis-ci.org/e-conomic/chai-pretty-expect) [![Dependency Status](https://david-dm.org/e-conomic/chai-pretty-expect.svg)](https://david-dm.org/e-conomic/chai-pretty-expect) [![devDependency Status](https://david-dm.org/e-conomic/chai-pretty-expect/dev-status.svg)](https://david-dm.org/e-conomic/chai-pretty-expect#info=devDependencies)
chai-pretty-expect [![npm version](https://badge.fury.io/js/chai-pretty-expect.svg)](http://badge.fury.io/js/chai-pretty-expect) [![Build Status](https://travis-ci.org/debitoor/chai-pretty-expect.svg?branch=master)](https://travis-ci.org/debitoor/chai-pretty-expect) [![Dependency Status](https://david-dm.org/debitoor/chai-pretty-expect.svg)](https://david-dm.org/debitoor/chai-pretty-expect) [![devDependency Status](https://david-dm.org/debitoor/chai-pretty-expect/dev-status.svg)](https://david-dm.org/debitoor/chai-pretty-expect#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/debitoor/chai-pretty-expect/badge.svg?branch=master&service=github)](https://coveralls.io/github/debitoor/chai-pretty-expect?branch=master)
==================

Will JSON.stringify and pretty-print objects passed as 2nd, 3rd, ... parameter to expect, for nice test output.
Expand Down
11 changes: 7 additions & 4 deletions package.json
Expand Up @@ -4,11 +4,12 @@
"description": "Will JSON.stringify and pretty-print objects passed as 2nd, 3rd, ... parameter to expect, for nice test output",
"main": "lib/chai-pretty-expect.js",
"scripts": {
"test": "mocha"
"test": "istanbul cover _mocha",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"repository": {
"type": "git",
"url": "git://github.com/e-conomic/chai-pretty-expect.git"
"url": "git://github.com/debitoor/chai-pretty-expect.git"
},
"keywords": [
"chai",
Expand Down Expand Up @@ -37,7 +38,9 @@
"lodash": "^3.6.0"
},
"devDependencies": {
"chai": "^2.2.0",
"mocha": "^2.2.1"
"chai": "3.4.0",
"coveralls": "2.11.4",
"istanbul": "0.4.0",
"mocha": "2.3.3"
}
}

0 comments on commit c5c086c

Please sign in to comment.