mirror of
https://github.com/status-im/react-native.git
synced 2025-02-21 13:48:13 +00:00
Summary:See discussion here https://github.com/facebook/react-native/pull/5796#issuecomment-202002658 **Test plan (required)** Change the babel-preset-react-native dependency to `"babel-preset-react-native": "file:./babel-preset",` so it uses the local babel-preset instead of the one from npm. ``` ./packager/packager.sh --reset-cache ``` open `http://localhost:8081/Examples/UIExplorer/UIExplorerApp.android.bundle?platform=android&dev=true&hot=false&minify=false` and there should not be any added 'strict mode'. Closes https://github.com/facebook/react-native/pull/6686 Reviewed By: mkonicek Differential Revision: D3103122 Pulled By: bestander fb-gh-sync-id: 85658ee01bb73f13dacb2b6a48ab121324c13118 fbshipit-source-id: 85658ee01bb73f13dacb2b6a48ab121324c13118
46 lines
1.9 KiB
JSON
46 lines
1.9 KiB
JSON
{
|
|
"name": "babel-preset-react-native",
|
|
"version": "1.5.4",
|
|
"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.2",
|
|
"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.4"
|
|
}
|
|
}
|