mirror of
https://github.com/status-im/react-native.git
synced 2025-01-18 05:23:26 +00:00
f5edabf3db
Summary:PR does as it says -- updates Babel dependencies to latest versions. In general, this changes nothing for 99.9% of users (everyone that isn't FB). If they were to `npm install react-native` right now, they would get all of these dependencies anyway. However, this does revert a previous change where we were using "~" instead of "^" in front of the Babel deps in order to attempt to lock them to minor dependencies. However, due to the fact that each Babel package uses "^", and there are so many interdependencies, this actually would cause an issue where multiple versions of babel-core, et. al. to be installed. *Edit* - In addition, we add React to `devDependencies` so that it behaves properly in testing, now that it's a peer dependency. Closes https://github.com/facebook/react-native/pull/5811 Reviewed By: davidaurelio Differential Revision: D2931184 Pulled By: martinbigio fb-gh-sync-id: 7b9fc640d37fb2d98fc1808860f9f64074aff475 shipit-source-id: 7b9fc640d37fb2d98fc1808860f9f64074aff475
46 lines
1.9 KiB
JSON
46 lines
1.9 KiB
JSON
{
|
|
"name": "babel-preset-react-native",
|
|
"version": "1.5.1",
|
|
"description": "Babel preset for React Native applications",
|
|
"main": "index.js",
|
|
"repository": "https://github.com/facebook/react-native/tree/master/babel-preset",
|
|
"keywords": [
|
|
"babel",
|
|
"preset",
|
|
"react-native"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"bugs": {
|
|
"url": "https://github.com/facebook/react-native/issues"
|
|
},
|
|
"homepage": "https://github.com/facebook/react-native/tree/master/babel-preset/README.md",
|
|
"dependencies": {
|
|
"babel-plugin-react-transform": "2.0.0-beta1",
|
|
"babel-plugin-syntax-async-functions": "^6.5.0",
|
|
"babel-plugin-syntax-class-properties": "^6.5.0",
|
|
"babel-plugin-syntax-flow": "^6.5.0",
|
|
"babel-plugin-syntax-jsx": "^6.5.0",
|
|
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
|
|
"babel-plugin-transform-class-properties": "^6.5.0",
|
|
"babel-plugin-transform-es2015-arrow-functions": "^6.5.0",
|
|
"babel-plugin-transform-es2015-block-scoping": "^6.5.0",
|
|
"babel-plugin-transform-es2015-classes": "^6.5.0",
|
|
"babel-plugin-transform-es2015-computed-properties": "^6.5.0",
|
|
"babel-plugin-transform-es2015-constants": "^6.1.4",
|
|
"babel-plugin-transform-es2015-destructuring": "^6.5.0",
|
|
"babel-plugin-transform-es2015-for-of": "^6.5.0",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.5.0",
|
|
"babel-plugin-transform-es2015-parameters": "^6.5.0",
|
|
"babel-plugin-transform-es2015-shorthand-properties": "^6.5.0",
|
|
"babel-plugin-transform-es2015-spread": "^6.5.0",
|
|
"babel-plugin-transform-es2015-template-literals": "^6.5.0",
|
|
"babel-plugin-transform-flow-strip-types": "^6.5.0",
|
|
"babel-plugin-transform-object-assign": "^6.5.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.5.0",
|
|
"babel-plugin-transform-react-display-name": "^6.5.0",
|
|
"babel-plugin-transform-react-jsx": "^6.5.0",
|
|
"babel-plugin-transform-regenerator": "^6.5.0",
|
|
"react-transform-hmr": "^1.0.2"
|
|
}
|
|
}
|