Skip to content

Commit

Permalink
Updated to react-native 0.33
Browse files Browse the repository at this point in the history
Updated to react-native 0.33 and complaint with babel 6 and removed
import of missing component in example.js
  • Loading branch information
anurag alla committed Sep 19, 2016
1 parent f72d6f1 commit 7174ea4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion Example/.babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"presets": ["react-native-stage-0/decorator-support"]
"presets": ["react-native"],
"plugins": ["transform-decorators-legacy"]
}
1 change: 0 additions & 1 deletion Example/Example.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ useStrict(true);
// view and model for Counter scene
import Counter from './components/Counter';
import store from './model/counter';
import Test from './components/Test';

const OCounter= observer(Counter);

Expand Down
13 changes: 7 additions & 6 deletions Example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
},
"dependencies": {
"autobind-decorator": "^1.3.3",
"babel-preset-react-native-stage-0": "^1.0.1",
"mobx": "^2.2.0",
"mobx-react": "^3.3.0",
"react": "15.0.2",
"react-native": "^0.26.2",
"babel-plugin-transform-decorators": "^6.13.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"mobx": "^2.5.1",
"mobx-react": "^3.5.6",
"react": "^15.3.1",
"react-native": "^0.33.0",
"react-native-button": "github:ide/react-native-button",
"react-native-mobx": "file:../",
"react-native-router-flux": "^3.26.10"
"react-native-router-flux": "^3.35.0"
},
"devDependencies": {
"sane": "^1.3.4"
Expand Down

0 comments on commit 7174ea4

Please sign in to comment.