Skip to content

Commit

Permalink
Merge pull request #16 from wheresrhys/client-install
Browse files Browse the repository at this point in the history
removed client side debug dependency and documented how to use for cl…
  • Loading branch information
wheresrhys committed May 31, 2015
2 parents c14ef40 + 6fa4f86 commit ce0d254
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Mock http requests made using fetch (or isomorphic-fetch)
- fetch-mock doesn't declare `fetch` or `Promise` as dependencies; as you're testing `fetch` it's assumed you're already taking care of these globals
- fetch-mock uses [npm debug](https://www.npmjs.com/package/debug). To output useful messages for debugging set the environment variable `DEBUG=fetch-mock`
- If you prefer documentation by example skip to the bottom of this README

- To use fetch-mock on the server simply `npm install fetch-mock` and `require('fetch-mock)`. In the browser either
- use browserify + debowerify and both `npm install fetch-mock` and `bower install fetch-mock`, then use `require('fetch-mock)`
- use browserify and `npm install fetch-mock` and `require('fetch-mock/client)`

## API

Expand Down
4 changes: 1 addition & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"spy"
],
"license": "MIT",
"dependencies": {
"debug": "^2.2.0"
},
"dependencies": {},
"devDependencies": {
"fetch": "~0.6.0"
}
Expand Down

0 comments on commit ce0d254

Please sign in to comment.