Skip to content
This repository was archived by the owner on Sep 17, 2021. It is now read-only.

Commit ffae15e

Browse files
authored
Merge pull request #3 from capitalone/fix-latest-version
Fixing to work with RN 0.30 and RNSVG 3.1.1
2 parents 1af31ca + 440a60f commit ffae15e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
react-native-pathjs-charts
22
=======================
33

4-
![](https://img.shields.io/badge/cofi-r&d-brightgreen.svg) [![](https://img.shields.io/badge/react--native-v0.24.1-blue.svg)](https://facebook.github.io/react-native/)
4+
[![](https://img.shields.io/badge/npm-v0.0.20-brightgreen.svg)](https://www.npmjs.com/package/react-native-pathjs-charts) [![](https://img.shields.io/badge/react--native--svg-3.1.1-blue.svg)](https://www.npmjs.com/package/react-native-svg) [![](https://img.shields.io/badge/react--native-0.30-orange.svg)](https://facebook.github.io/react-native/)
55
[![](https://img.shields.io/badge/android--ff69b4.svg)](http://developer.android.com/sdk/index.html)
66
[![](https://img.shields.io/badge/ios--red.svg)](https://developer.apple.com/xcode/)
77
[![](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
@@ -31,7 +31,7 @@ To run the example application (from a cloned repo):
3131
```
3232
cd example
3333
npm install
34-
rnpm link
34+
react-native link react-native-svg
3535
react-native run-ios
3636
# or
3737
react-native run-android
@@ -43,7 +43,7 @@ To add the library to your React Native project:
4343

4444
```
4545
npm install react-native-pathjs-charts --save
46-
rnpm link
46+
react-native link react-native-svg
4747
```
4848

4949
## Usage

example/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"start": "node node_modules/react-native/local-cli/cli.js start"
77
},
88
"dependencies": {
9-
"react": "^0.14.8",
10-
"react-native": "^0.25.1",
9+
"react": "^15.3.0",
10+
"react-native": "^0.30.0",
1111
"react-native-pathjs-charts": "file:../"
1212
}
1313
}

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-pathjs-charts",
3-
"version": "0.0.19",
3+
"version": "0.0.20",
44
"description": "Cross platform React Native charting library based on path-js and react-native-svg",
55
"repository": {
66
"type": "git",
@@ -34,10 +34,10 @@
3434
"dependencies": {
3535
"lodash": "^4.12.0",
3636
"paths-js": "^0.3.4",
37-
"react-native-svg": "^2.0.0"
37+
"react-native-svg": "^3.1.1"
3838
},
3939
"devDependencies": {
40-
"react": "^0.14.8",
41-
"react-native": "^0.24.1"
40+
"react": "^15.3.0",
41+
"react-native": "^0.30.0"
4242
}
4343
}

0 commit comments

Comments
 (0)