Skip to content

Commit

Permalink
rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Lelidis committed Sep 30, 2019
1 parent 1d2de50 commit bcdd5d5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mapillary-react
# react-mapillary

A simple [mapillaryJs](https://github.com/mapillary/mapillary-js) react component.

Expand All @@ -14,13 +14,13 @@ A simple [mapillaryJs](https://github.com/mapillary/mapillary-js) react componen
## Installing

```
$ npm install --save mapillary-react
$ npm install --save react-mapillary
```

Then, just import to your React component:

```jsx
import { MapillaryViewer } from 'mapillary-react';
import { MapillaryViewer } from 'react-mapillary';
```

## Examples
Expand Down
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
<title>Mappilary-react</title>
<title>react-mapillary</title>
</head>
<body style="margin: 0">
<div id="root" style="width: 100vw; height: 100vh;"></div>
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "mapillary-react",
"name": "react-mapillary",
"version": "0.0.1",
"description": "A react component for the mapillary-js lib",
"main": "dist/mapillary-react.js",
"module": "dist/mapillary-react.js",
"main": "dist/react-mapillary.js",
"module": "dist/react-mapillary.js",
"scripts": {
"start": "webpack-dev-server --config webpack.dev.js",
"build": "webpack --config webpack.prod.js",
Expand All @@ -14,7 +14,7 @@
"license": "Apache License - 2.0",
"repository": {
"type": "git",
"url": "https://github.com/alexus37/mapillary-react"
"url": "https://github.com/alexus37/react-mapillary"
},
"peerDependencies": {
"react": ">=16.10.1",
Expand Down

0 comments on commit bcdd5d5

Please sign in to comment.