Skip to content

Commit

Permalink
Added badges to README and connected to coverall and travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Rodriguez committed Sep 15, 2016
1 parent 47fb0f2 commit 2b680bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -8,6 +8,7 @@ node_js:
script:
- npm run lint
- npm run test
- npm run coveralls
- npm run build
- npm run test:examples
branches:
Expand Down
2 changes: 2 additions & 0 deletions README.md
@@ -1,4 +1,6 @@
# Redux Action Factory
[![npm version](https://badge.fury.io/js/redux-action-factory.svg)](https://badge.fury.io/js/redux-action-factory) [![Build Status](https://travis-ci.org/kwirke/redux-action-factory.svg?branch=master)](https://travis-ci.org/kwirke/redux-action-factory) [![Coverage Status](https://coveralls.io/repos/github/kwirke/redux-action-factory/badge.svg?branch=master)](https://coveralls.io/github/kwirke/redux-action-factory?branch=master)

Simple library for creating schema-validated Redux Actions (or thunks, promises, etc.). Powered by the awesomely awesome [Schema-Inspector](http://atinux.github.io/schema-inspector/).

## Installation
Expand Down
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -11,7 +11,8 @@
"cover": "cross-env BABEL_ENV=commonjs istanbul cover _mocha `find ./test -name '*.test.js'` -- -r test/index.js --compilers js:babel-register",
"lint": "eslint src test",
"build": "cross-env BABEL_ENV=commonjs babel src --out-dir lib && cp src/configSchema.json lib/",
"prepublish": "npm run clean && npm run lint && npm test && npm run build"
"prepublish": "npm run clean && npm run lint && npm test && npm run build",
"coveralls": "cross-env BABEL_ENV=commonjs istanbul cover _mocha `find ./test -name '*.test.js'` --report lcovonly -- -r test/index.js --compilers js:babel-register && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"files": [
"lib",
Expand Down Expand Up @@ -39,6 +40,7 @@
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"chai": "^3.5.0",
"coveralls": "^2.11.12",
"cross-env": "^2.0.0",
"eslint": "^2.13.1",
"eslint-config-airbnb": "^9.0.1",
Expand Down

0 comments on commit 2b680bb

Please sign in to comment.