Skip to content

Instantly share code, notes, and snippets.

@telmen
Forked from jimthedev/.babelrc
Created January 30, 2017 08:59
Show Gist options
  • Select an option

  • Save telmen/dd1b94a5ff3bc5d494ee0a120251d3ae to your computer and use it in GitHub Desktop.

Select an option

Save telmen/dd1b94a5ff3bc5d494ee0a120251d3ae to your computer and use it in GitHub Desktop.

Revisions

  1. @jimthedev jimthedev revised this gist Jan 29, 2017. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion npminstall.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,5 @@
    npm install --save mobx mobx-react styled-components axios react-navigation --save-dev babel-plugin-transform-decorators-legacy babel-preset-react-native-stage-0
    npm install --save mobx mobx-react styled-components axios react-navigation --save-dev babel-plugin-transform-decorators-legacy babel-preset-react-native-stage-0

    echo "Navigation: https://reactnavigation.org/docs/intro/"
    echo "Styled Components https://github.com/styled-components/styled-components#react-native"
    echo "MobX https://medium.com/react-native-training/react-native-with-mobx-getting-started-ba7e18d8ff44#.km3573v38"
  2. @jimthedev jimthedev revised this gist Jan 29, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion npminstall.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    npm install --save mobx mobx-react styled-components axios --save-dev babel-plugin-transform-decorators-legacy babel-preset-react-native-stage-0
    npm install --save mobx mobx-react styled-components axios react-navigation --save-dev babel-plugin-transform-decorators-legacy babel-preset-react-native-stage-0
  3. @jimthedev jimthedev created this gist Jan 29, 2017.
    4 changes: 4 additions & 0 deletions .babelrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    {
    "presets": ["react-native"],
    "plugins": ["transform-decorators-legacy"]
    }
    1 change: 1 addition & 0 deletions npminstall.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    npm install --save mobx mobx-react styled-components axios --save-dev babel-plugin-transform-decorators-legacy babel-preset-react-native-stage-0