title: React native upgrade from babel 6 to babel 7
body: <p>What would be the steps to upgrade from babel 6 to babel 7 an existing react-native project?</p>
  
  <p>These are the old dependencies:</p>
  
  <pre><code> "dependencies": {
      .........
      "babel-plugin-transform-runtime": "^6.23.0",
      "babel-preset-latest": "^6.24.1",
      "babel-preset-stage-0": "^6.24.1",
      "babel-register": "^6.24.1",
      "prop-types": "^15.5.10",
      "react": "16.3.1",
      "react-native": "0.55.4",
      "react-redux": "5.0.7",
      "redux": "^4.0.0",
      "redux-actions": "^2.6.1",
      "redux-mock-store": "^1.5.1",
      "redux-persist": "^5.10.0",
      "redux-thunk": "^2.1.0",
    },
    "devDependencies": {
      "babel-eslint": "^8.2.2",
      "babel-plugin-syntax-object-rest-spread": "^6.13.0",
      "babel-plugin-transform-object-rest-spread": "^6.23.0",
      "babel-preset-react-native": "^4.0.0",
      "babel-preset-react-native-stage-0": "^1.0.1",
      "eslint": "^4.18.1",
      "eslint-config-airbnb": "^17.0.0",
      "eslint-plugin-flowtype": "^2.46.1",
      "eslint-plugin-import": "^2.14.0",
      "eslint-plugin-jsx-a11y": "6.1.1",
      "eslint-plugin-react": "^7.4.0",
      "gulp": "^3.9.0",
      "gulp-eslint": "4.0.2",
      "gulp-mocha": "6.0.0",
      "jest": "^23.5.0",
      .....
    },
  </code></pre>
  
  <p>What steps do you have to follow to make this update?
  How should the new dependencies looks like?</p>
  
  <p>It is not very clear for me (after reading the babel doc) what I should do to make this upgrade, commands to run and what should be added in dependencies and what in devDependencies.</p>
  
  <p>Also it is not very clear for me what is the difference between babel 6 and babel 7 regarding what is happening with the JS code in a react-native project.</p>
  
  <p>Please don't respond with just links to babel doc or to react-native 0.57 change log.</p>
  
  <p>I would need at least some basic steps to do this upgrade and an example of a package.json of a RN project based on babel 7.</p>