Skip to content

Commit

Permalink
README.md - coveralls badge
Browse files Browse the repository at this point in the history
  • Loading branch information
toto8514 authored and toto8514 committed Feb 3, 2019
1 parent a56225e commit e37f792
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ branches:
only:
- master
cache: npm
after_success:
- npm run coveralls
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Inspired by [Redux](https://redux.js.org), it reimplements the redux paradigm of
- [CodeSandbox Examples](#codesandbox-examples)
- [License](#license)

[![Build Status](https://travis-ci.org/iusehooks/redhooks.svg?branch=master)](https://travis-ci.org/iusehooks/redhooks) [![Package size](https://img.shields.io/bundlephobia/minzip/redhooks.svg)](https://bundlephobia.com/result?p=redhooks)
[![Build Status](https://travis-ci.org/iusehooks/redhooks.svg?branch=master)](https://travis-ci.org/iusehooks/redhooks) [![Package size](https://img.shields.io/bundlephobia/minzip/redhooks.svg)](https://bundlephobia.com/result?p=redhooks) [![Coverage Status](https://coveralls.io/repos/github/iusehooks/redhooks/badge.svg?branch=master)](https://coveralls.io/github/iusehooks/redhooks?branch=master) ![License](https://img.shields.io/npm/l/redhooks.svg?style=flat) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Predictable%20state%20container%20for%20React%20apps%20written%20using%20Hooks&url=https://github.com/iusehooks/redhooks&hashtags=reactjs,webdev,javascript)

# Installation
```sh
Expand Down
76 changes: 58 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"pretest": "npm run lint",
"test": "cross-env NODE_ENV=test jest -u",
"test:watch": "npm run test -- --watch",
"test:cov": "npm test -- --coverage"
"test:cov": "npm test -- --coverage",
"coveralls": "npm run test:cov && cat ./coverage/lcov.info | coveralls"
},
"author": "Antonio Pangallo (https://github.com/antoniopangallo)",
"files": [
Expand Down Expand Up @@ -42,6 +43,7 @@
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"child_process": "^1.0.2",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"eslint": "^5.11.1",
"eslint-config-prettier": "^3.3.0",
Expand Down

0 comments on commit e37f792

Please sign in to comment.