diff --git a/.gitignore b/.gitignore index aeadd8f..ac060d0 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ jspm_packages .node_repl_history local-test.env +lib \ No newline at end of file diff --git a/.npmignore b/.npmignore index b52ad42..6339923 100755 --- a/.npmignore +++ b/.npmignore @@ -1,9 +1,18 @@ .DS_Store *.log node_modules -src test examples coverage .idea wallaby.js +.travis.yml +karma-common.conf.js +.eslintignore +.eslintrc +.codeclimate.yml +local-test.env +run-tests.sh +browserstack.svg +.babelrc +.npmignore \ No newline at end of file diff --git a/README.md b/README.md index caf6ade..e79b3fd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # react-redux-saga-router -elegant powerful routing based on the simplicity of storing url as state +###### Connecting your url and redux state + +[![Code Climate](https://codeclimate.com/github/cellog/react-redux-saga-router/badges/gpa.svg)](https://codeclimate.com/github/cellog/react-redux-saga-router) [![Test Coverage](https://codeclimate.com/github/cellog/react-redux-saga-router/badges/coverage.svg)](https://codeclimate.com/github/cellog/react-redux-saga-router/coverage) [![Build Status](https://travis-ci.org/cellog/react-redux-saga-router.svg?branch=master)](https://travis-ci.org/cellog/react-redux-saga-router) + +Elegant powerful routing based on the simplicity of storing url as state + +To install: + +```bash +$ npm i -S react-redux-saga-router +``` + diff --git a/package.json b/package.json index dfc557f..cd61b96 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,13 @@ "name": "react-redux-saga-router", "version": "0.1.0", "description": "elegant powerful routing based on the simplicity of storing url as state", - "main": "build/index.js", + "main": "lib/index.js", "directories": { "test": "tests" }, "scripts": { - "build": "npm run clean && babel src --out-dir build", - "clean": "rimraf dist/", + "build": "npm run clean && babel src --out-dir lib", + "clean": "rimraf lib/", "local-test": "./local-test.env", "lint": "eslint src test", "test": "./run-tests.sh"