react-native/local-cli
Kevin Gozali d41c9d94fd add --dev flag to the packager's dependencies command
Summary:
The packager dependencies CLI command always operates on --dev=true today. This means any tooling that needs to get the production dependencies (--dev=false) will always get the dev-mode list instead. For instance:

```
if (__DEV__) {
  require('Foobar');
}
```

Previously, `Foobar.js` will always be listed in the CLI output. With this change, setting `--dev false` option will correctly skip `Foobar.js` in the output.

Reviewed By: cpojer

Differential Revision: D5163184

fbshipit-source-id: 203221ee5d6ecb7df575442f12f6c4c489bfbd46
2017-06-01 14:03:34 -07:00
..
__mocks__ Fix lint in local-cli 2016-11-14 11:13:42 -08:00
bundle metro-bundler: Terminal: remove global state 2017-06-01 03:04:04 -07:00
core Move packager launcher scripts outside of `packager/` 2017-05-23 16:17:09 -07:00
dependencies add --dev flag to the packager's dependencies command 2017-06-01 14:03:34 -07:00
eject Eject CLI command to re-create native folders 2017-02-03 12:58:46 -08:00
generator CLI: Add support for templates fetched from npm 2017-02-27 14:04:57 -08:00
init CLI: Add support for project templates 2017-02-06 12:31:25 -08:00
install Use Yarn for Install/Uninstall CLI if available 2017-02-02 05:13:33 -08:00
library Fix new-library to copy to current project 2017-05-29 12:46:08 -07:00
link Move packager launcher scripts outside of `packager/` 2017-05-23 16:17:09 -07:00
logAndroid Use native Promise in local-cli 2016-11-21 10:28:34 -08:00
logIOS Use native Promise in local-cli 2016-11-21 10:28:34 -08:00
runAndroid Move packager launcher scripts outside of `packager/` 2017-05-23 16:17:09 -07:00
runIOS add multiline flag to product name regex in runIOS build project 2017-05-26 16:00:52 -07:00
server metro-bundler: Terminal: remove global state 2017-06-01 03:04:04 -07:00
templates Deploy v0.47.0 to xplat/js 2017-05-25 23:00:37 -07:00
upgrade New upgrading process, relying on Git 2016-11-28 08:28:35 -08:00
util Move remaining Metro Bundler files around. 2017-05-31 11:17:41 -07:00
.eslintrc disable `no-alert` eslint rule for node code 2017-05-03 06:51:47 -07:00
cli.js packager: centralize babelRegisterOnly callsites 2017-01-06 06:13:54 -08:00
cliEntry.js Stronger config types 2017-05-03 06:51:47 -07:00
commands.js packager: server.js: @flow 2017-05-17 05:03:41 -07:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh CLI: Adding shebang to setup_env.sh script 2017-05-31 02:46:23 -07:00
wrong-react-native.js Fix usage of react-native cli inside package.json scripts 2016-04-26 15:42:35 -07:00