diff --git a/packages/metro-bundler/package.json b/packages/metro-bundler/package.json index 60086ef1..94ab30c0 100644 --- a/packages/metro-bundler/package.json +++ b/packages/metro-bundler/package.json @@ -5,5 +5,39 @@ "repository": { "type": "git", "url": "git@github.com:facebook/react-native.git" + }, + "dependencies": { + "absolute-path": "^0.0.0", + "async": "^2.0.1", + "babel-core": "^6.21.0", + "babel-generator": "^6.21.0", + "babel-plugin-external-helpers": "^6.18.0", + "babel-preset-fbjs": "^2.1.0", + "babel-preset-react-native": "^1.9.1", + "babel-register": "^6.18.0", + "babylon": "^6.14.1", + "chalk": "^1.1.1", + "core-js": "^2.2.2", + "debug": "^2.2.0", + "denodeify": "^1.2.1", + "fbjs": "^0.8.9", + "graceful-fs": "^4.1.3", + "image-size": "^0.3.5", + "imurmurhash": "^0.1.4", + "jest-haste-map": "18.0.0", + "joi": "^6.6.1", + "json-stable-stringify": "^1.0.1", + "json5": "^0.4.0", + "left-pad": "^1.1.3", + "lodash": "^4.16.6", + "mime-types": "2.1.11", + "mkdirp": "^0.5.1", + "request": "^2.79.0", + "rimraf": "^2.5.4", + "source-map": "^0.5.6", + "throat": "^3.0.0", + "uglify-js": "^2.6.2", + "worker-farm": "^1.3.1", + "write-file-atomic": "^1.2.0" } } diff --git a/packages/metro-bundler/src/JSTransformer/__mocks__/q.js b/packages/metro-bundler/src/JSTransformer/__mocks__/q.js deleted file mode 100644 index 7ee0beac..00000000 --- a/packages/metro-bundler/src/JSTransformer/__mocks__/q.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - */ -'use strict'; - -// Bug with Jest because we're going to the node_modules that is a sibling -// of what jest thinks our root (the dir with the package.json) should be. - -module.exports = require.requireActual('q');