Upgrade `babel-transform-react-native` to `v2.0.0`

Summary: Upgrades `babel-transform-react-native` to v2.0.0, which exposes a factory function. That way, the preset will include/exclude dev tools according to `process.env.NODE_ENV` even when that value changes over time.

Reviewed By: cpojer

Differential Revision: D5246801

fbshipit-source-id: 74a1e7e0fb1476750e1fe21ce4befd475907b415
This commit is contained in:
David Aurelio 2017-06-19 08:20:25 -07:00 committed by Facebook Github Bot
parent 56969d51fa
commit 86328e9266
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@
"babel-polyfill": "^6.20.0", "babel-polyfill": "^6.20.0",
"babel-preset-es2015-node": "^6.1.1", "babel-preset-es2015-node": "^6.1.1",
"babel-preset-fbjs": "^2.1.3", "babel-preset-fbjs": "^2.1.3",
"babel-preset-react-native": "^1.9.2", "babel-preset-react-native": "^2.0.0",
"babel-register": "^6.24.1", "babel-register": "^6.24.1",
"babel-runtime": "^6.23.0", "babel-runtime": "^6.23.0",
"babel-traverse": "^6.24.1", "babel-traverse": "^6.24.1",