mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
30b057fa9c
Summary: Adds the dependency to the Babel preset's package.json and enables the plugin only when `**` exists in a source file. This is https://github.com/facebook/react-native/pull/12339 with merge conflicts resolved and putting the plugin behind a cheaper heuristic. Closes https://github.com/facebook/react-native/pull/16191 Differential Revision: D6023857 Pulled By: hramos fbshipit-source-id: 16f4a5f14780c27d2ef95fa7e8d8b611fa992aa0
52 lines
2.2 KiB
JSON
52 lines
2.2 KiB
JSON
{
|
|
"name": "babel-preset-react-native",
|
|
"version": "4.0.0",
|
|
"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-check-es2015-constants": "^6.5.0",
|
|
"babel-plugin-react-transform": "^3.0.0",
|
|
"babel-plugin-syntax-async-functions": "^6.5.0",
|
|
"babel-plugin-syntax-class-properties": "^6.5.0",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.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-destructuring": "^6.5.0",
|
|
"babel-plugin-transform-es2015-for-of": "^6.5.0",
|
|
"babel-plugin-transform-es2015-function-name": "^6.5.0",
|
|
"babel-plugin-transform-es2015-literals": "^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-exponentiation-operator": "^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-react-jsx-source": "^6.5.0",
|
|
"babel-plugin-transform-regenerator": "^6.5.0",
|
|
"babel-template": "^6.24.1",
|
|
"react-transform-hmr": "^1.0.4"
|
|
}
|
|
}
|