mirror of
https://github.com/status-im/react-native.git
synced 2025-02-24 15:18:10 +00:00
Update fbjs-scripts
to ^0.7.0
Summary: `fbjs-scripts` 0.4.0 has Babel 5 as a dependency, which causes some amount of havoc when you're trying to use `react-native` in a project that's otherwise dependent on Babel 6 and using the flat-installing npm >=3. Closes https://github.com/facebook/react-native/pull/7855 Reviewed By: frantic Differential Revision: D3371679 Pulled By: steveluscher fbshipit-source-id: 9f7643171d89da0de0492e7e97875f472725e990
This commit is contained in:
parent
9172597019
commit
1b2d4266b9
@ -136,6 +136,7 @@
|
||||
"babel-plugin-transform-object-rest-spread": "^6.6.5",
|
||||
"babel-polyfill": "^6.6.1",
|
||||
"babel-preset-es2015-node": "^4.0.2",
|
||||
"babel-preset-fbjs": "^2.0.0",
|
||||
"babel-preset-react-native": "^1.9.0",
|
||||
"babel-register": "^6.6.0",
|
||||
"babel-types": "^6.6.4",
|
||||
@ -148,7 +149,7 @@
|
||||
"debug": "^2.2.0",
|
||||
"event-target-shim": "^1.0.5",
|
||||
"fbjs": "^0.8.0",
|
||||
"fbjs-scripts": "^0.4.0",
|
||||
"fbjs-scripts": "^0.7.0",
|
||||
"graceful-fs": "^4.1.3",
|
||||
"image-size": "^0.3.5",
|
||||
"immutable": "~3.7.6",
|
||||
|
@ -15,7 +15,7 @@ const externalHelpersPlugin = require('babel-plugin-external-helpers');
|
||||
const fs = require('fs');
|
||||
const makeHMRConfig = require('babel-preset-react-native/configs/hmr');
|
||||
const resolvePlugins = require('babel-preset-react-native/lib/resolvePlugins');
|
||||
const inlineRequiresPlugin = require('fbjs-scripts/babel-6/inline-requires');
|
||||
const inlineRequiresPlugin = require('babel-preset-fbjs/plugins/inline-requires');
|
||||
const json5 = require('json5');
|
||||
const path = require('path');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user