diff --git a/README.md b/README.md index 05f67049ca..1c3cee5b3d 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ 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 @@ -35,7 +35,7 @@ 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 ----- diff --git a/script/build b/script/build index 195a6ae5db..2739f7e19a 100755 --- a/script/build +++ b/script/build @@ -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