Skip to content

Commit 0be4bf7

Browse files
committed
[changed] npm registry name to react-router :D
Thanks for joining forces @jaredly!
1 parent 56cbe2f commit 0be4bf7

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Installation
3131
------------
3232

3333
```sh
34-
npm install react-nested-router
34+
npm install react-router
3535
# or
3636
bower install react-router
3737
```
@@ -47,7 +47,7 @@ Usage
4747
-----
4848

4949
```
50-
var Route = require('react-nested-router').Route;
50+
var Route = require('react-router').Route;
5151
5252
React.renderComponent((
5353
<Route handler={App}>
@@ -88,7 +88,7 @@ will render the active child route handler.
8888
Here's the rest of the application:
8989

9090
```js
91-
var Link = require('react-nested-router').Link;
91+
var Link = require('react-router').Link;
9292

9393
var App = React.createClass({
9494
render: function() {
@@ -339,7 +339,7 @@ active -->
339339
The router has several top-level methods that may be used to navigate around the application.
340340

341341
```js
342-
var Router = require('react-nested-router')
342+
var Router = require('react-router')
343343
```
344344

345345
**transitionTo(routeNameOrPath, [params[, query]])** - Programatically transition to a new route.

bower.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "react-nested-router",
2+
"name": "react-router",
33
"version": "0.3.5",
4-
"homepage": "https://github.com/rpflorence/react-nested-router",
4+
"homepage": "https://github.com/rpflorence/react-router",
55
"authors": [
66
"Ryan Florence",
77
"Michael Jackson"
@@ -26,4 +26,4 @@
2626
"package.json",
2727
"webpack.config.js"
2828
]
29-
}
29+
}

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-nested-router",
2+
"name": "react-router",
33
"version": "0.3.5",
44
"description": "A complete routing library for React.js",
55
"tags": [
@@ -9,9 +9,9 @@
99
"main": "modules/main",
1010
"repository": {
1111
"type": "git",
12-
"url": "https://github.com/rpflorence/react-nested-router.git"
12+
"url": "https://github.com/rpflorence/react-router.git"
1313
},
14-
"homepage": "https://github.com/rpflorence/react-nested-router",
14+
"homepage": "https://github.com/rpflorence/react-router",
1515
"directories": {
1616
"example": "examples"
1717
},
@@ -54,4 +54,4 @@
5454
"browserify-shim": {
5555
"react": "global:React"
5656
}
57-
}
57+
}

0 commit comments

Comments
 (0)