From 0be4bf786e38d53f815d7e1705604d0aff1ba493 Mon Sep 17 00:00:00 2001 From: Ryan Florence Date: Thu, 24 Jul 2014 13:39:51 -0600 Subject: [PATCH] [changed] npm registry name to react-router :D Thanks for joining forces @jaredly! --- README.md | 8 ++++---- bower.json | 6 +++--- package.json | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 856e4c280b..d41e494ac2 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Installation ------------ ```sh -npm install react-nested-router +npm install react-router # or bower install react-router ``` @@ -47,7 +47,7 @@ Usage ----- ``` -var Route = require('react-nested-router').Route; +var Route = require('react-router').Route; React.renderComponent(( @@ -88,7 +88,7 @@ will render the active child route handler. Here's the rest of the application: ```js -var Link = require('react-nested-router').Link; +var Link = require('react-router').Link; var App = React.createClass({ render: function() { @@ -339,7 +339,7 @@ active --> The router has several top-level methods that may be used to navigate around the application. ```js -var Router = require('react-nested-router') +var Router = require('react-router') ``` **transitionTo(routeNameOrPath, [params[, query]])** - Programatically transition to a new route. diff --git a/bower.json b/bower.json index 92632373ab..e224b9567a 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { - "name": "react-nested-router", + "name": "react-router", "version": "0.3.5", - "homepage": "https://github.com/rpflorence/react-nested-router", + "homepage": "https://github.com/rpflorence/react-router", "authors": [ "Ryan Florence", "Michael Jackson" @@ -26,4 +26,4 @@ "package.json", "webpack.config.js" ] -} \ No newline at end of file +} diff --git a/package.json b/package.json index a454377505..93de5592d0 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "react-nested-router", + "name": "react-router", "version": "0.3.5", "description": "A complete routing library for React.js", "tags": [ @@ -9,9 +9,9 @@ "main": "modules/main", "repository": { "type": "git", - "url": "https://github.com/rpflorence/react-nested-router.git" + "url": "https://github.com/rpflorence/react-router.git" }, - "homepage": "https://github.com/rpflorence/react-nested-router", + "homepage": "https://github.com/rpflorence/react-router", "directories": { "example": "examples" }, @@ -54,4 +54,4 @@ "browserify-shim": { "react": "global:React" } -} \ No newline at end of file +}