react-native/local-cli/util
Adam Miskiewicz 757ab0b936 Add `--config` option to CLI to allow passing a path to an `rn-cli.config.js`
Summary:
Currently we just try to resolve a rn-cli.config.js file by walking up the tree from node_modules/react-native. In non-standard uses of RN, when your copy of RN may not live within node_modules, it's impossible to use rn-cli.config.js. This PR adds a "config" flag to the cli that let's you pass in a path to rn-cli.config.js.

cc ide
Closes https://github.com/facebook/react-native/pull/7883

Differential Revision: D3382823

Pulled By: bestander

fbshipit-source-id: b946f3bb355050fc2fe99273d0e99e441dbed111
2016-08-12 11:58:33 -07:00
..
__mocks__ Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
Config.js Add `--config` option to CLI to allow passing a path to an `rn-cli.config.js` 2016-08-12 11:58:33 -07:00
assertRequiredOptions.js Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
copyAndReplace.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
isPackagerRunning.js Fix comment typos 2016-06-03 02:43:57 -07:00
isValidPackageName.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00
log.js Add ability to silence packager logs to stdout 2016-03-15 12:10:31 -07:00
parseCommandLine.js Merge `rnpm cli` into react-native 2016-07-30 09:13:46 -07:00
walk.js Move `private-cli` commands to `local-cli` 2015-10-26 15:36:04 -07:00