Skip to content

Commit

Permalink
[changed] global export to ReactRouter
Browse files Browse the repository at this point in the history
react-nested-router is already taken on bower
  • Loading branch information
ryanflorence committed Jul 22, 2014
1 parent 75ae0fc commit 3a4732e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ Installation
```sh
npm install react-nested-router
# or
bower install react-nested-router
bower install react-router
```

This library is written with CommonJS modules. If you are using
browserify, webpack, or similar, you can consume it like anything else
installed from npm.

There is also a UMD build available on bower, find the library on
`window.ReactNestedRouter`.
`window.ReactRouter`.

Usage
-----
Expand Down
2 changes: 1 addition & 1 deletion script/build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
mkdir -p dist
NODE_ENV=production node_modules/.bin/browserify modules/main.js --detect-globals false -s ReactNestedRouter > dist/react-nested-router.js
NODE_ENV=production node_modules/.bin/browserify modules/main.js --detect-globals false -s ReactRouter > dist/react-nested-router.js
node_modules/.bin/uglifyjs dist/react-nested-router.js --compress warnings=false > dist/react-nested-router.min.js

0 comments on commit 3a4732e

Please sign in to comment.