Skip to content

Commit

Permalink
Change the deps to help investigate facebook/react-native#10882.
Browse files Browse the repository at this point in the history
Two changes:
- Set the dev and peer dependencies correctly. This happens to not be
  necessary for react-native-easy-toast as it is written, but it would
  be necessary if e.g. we were writing unit tests for this component.
- Add a babelrc, required for compilation when running with 'npm link'.
  • Loading branch information
artdent committed Nov 22, 2016
1 parent cfdfb96 commit a939e96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["react-native"]
}
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
"url": "https://github.com/crazycodeboy/react-native-easy-toast/issues"
},
"peerDependencies": {
"react": ">=15.3.1",
"react-native": ">=0.20.0"
},
"devDependencies": {
"babel-preset-react-native": "1.9.0",
"react": "~15.3.1",
"react-native": ">=0.20.0"
},
"homepage": "https://github.com/crazycodeboy/react-native-easy-toast#readme"
Expand Down

0 comments on commit a939e96

Please sign in to comment.