{"name":"@react-native/community-cli-plugin","version":"0.74.0-nightly-20231230-95bed60a1","keywords":["react-native","tools"],"license":"MIT","_id":"@react-native/community-cli-plugin@0.74.0-nightly-20231230-95bed60a1","maintainers":[{"name":"huntie","email":"hello@alexhunt.io"},{"name":"react-native-bot","email":"opensource+react-native-bot@fb.com"},{"name":"rsnara","email":"ramanpreet.nara@gmail.com"},{"name":"cipolleschi","email":"cipolleschi@fb.com"},{"name":"dmitryrykun","email":"dmitry.rykun@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"fkgozali","email":"fkgozali@gmail.com"},{"name":"lunaleaps","email":"lunaleaps@gmail.com"},{"name":"yungsters","email":"yungsters@gmail.com"},{"name":"cortinico","email":"corti.nico@gmail.com"},{"name":"eliwhite","email":"npm@eli-white.com"}],"homepage":"https://github.com/facebook/react-native/tree/HEAD/packages/buid-scripts#readme","bugs":{"url":"https://github.com/facebook/react-native/issues"},"dist":{"shasum":"058b3a50e750e85317925030cc019da99ba81320","tarball":"http://registry-npm.ywwl.com/@react-native/community-cli-plugin/download/@react-native/community-cli-plugin-0.74.0-nightly-20231230-95bed60a1.tgz","fileCount":38,"integrity":"sha512-7Zo1P1Umqg7mfwWd21kYW6fC7KlwqHciAzGjutHMoeaZuH9kKB8Gv8SuWIU2qXAdoJ92VS5of7/daJ6RctGIBw==","signatures":[{"sig":"MEYCIQDxLfxniOjJpPb73qBUX4OMJ4xYEH2QVEFpjtA7V3dqkQIhAJFe6NGsWkKlX+fprNOu08FjKcsMZrGDctVmO/wyu767","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61086,"size":14990,"noattachment":false,"key":"/@react-native/community-cli-plugin/-/@react-native/community-cli-plugin-0.74.0-nightly-20231230-95bed60a1.tgz"},"readme":"# @react-native/community-cli-plugin\n\n> This is an internal dependency of React Native. **Please don't depend on it directly.**\n\nCLI entry points supporting core React Native development features.\n\nFormerly [@react-native-community/cli-plugin-metro](https://www.npmjs.com/package/@react-native-community/cli-plugin-metro).\n\n## Commands\n\n### `start`\n\nStart the React Native development server.\n\n#### Usage\n\n```sh\nnpx react-native start [options]\n```\n\n#### Options\n\n| Option | Description |\n| - | - |\n| `--port <number>` | Set the server port. |\n| `--host <string>` | Set the server host. |\n| `--projectRoot <path>` | Set the path to the project root. |\n| `--watchFolders <list>` | Specify additional folders to be added to the watch list. |\n| `--assetPlugins <list>` | Specify additional asset plugins. |\n| `--sourceExts <list>` | Specify additional source extensions to bundle. |\n| `--max-workers <number>` | Set the maximum number of workers the worker-pool will spawn for transforming files. Defaults to the number of the cores available on your machine. |\n| `--transformer <string>` | Specify a custom transformer. |\n| `--reset-cache` | Remove cached files. |\n| `--custom-log-reporter-path <string>` | Specify a module path exporting a replacement for `TerminalReporter`. |\n| `--https` | Enable HTTPS connections. |\n| `--key <path>`| Specify path to a custom SSL key. |\n| `--cert <path>` | Specify path to a custom SSL cert. |\n| `--config <string>` | Path to the CLI configuration file. |\n| `--no-interactive` | Disable interactive mode. |\n\n### `bundle`\n\nBuild the bundle for the provided JavaScript entry file.\n\n#### Usage\n\n```sh\nnpx react-native bundle --entry-file <path> [options]\n```\n\n#### Options\n\n| Option | Description |\n| - | - |\n| `--entry-file <path>` | Set the path to the root JavaScript entry file. |\n| `--platform <string>` | Set the target platform (either `\"android\"` or `\"ios\"`). Defaults to `\"ios\"`. |\n| `--transformer <string>` | Specify a custom transformer. |\n| `--dev [boolean]` | If `false`, warnings are disabled and the bundle is minified. Defaults to `true`. |\n| `--minify [boolean]` | Allows overriding whether bundle is minified. Defaults to `false` if `--dev` is set. Disabling minification can be useful for speeding up production builds for testing purposes. |\n| `--bundle-output <string>` | Specify the path to store the resulting bundle. |\n| `--bundle-encoding <string>` | Specify the encoding for writing the bundle (<https://nodejs.org/api/buffer.html#buffer_buffer>). |\n| `--sourcemap-output <string>` | Specify the path to store the source map file for the resulting bundle. |\n| `--sourcemap-sources-root <string>` | Set the root path for source map entries. |\n| `--sourcemap-use-absolute-path` | Report `SourceMapURL` using its full path. |\n| `--max-workers <number>` | Set the maximum number of workers the worker-pool will spawn for transforming files. Defaults to the number of the cores available on your machine. |\n| `--assets-dest <string>` | Specify the directory path for storing assets referenced in the bundle. |\n| `--reset-cache` | Remove cached files. |\n| `--read-global-cache` | Attempt to fetch transformed JS code from the global cache, if configured. Defaults to `false`. |\n| `--config <string>` | Path to the CLI configuration file. |\n\n### `ram-bundle`\n\nBuild the [RAM bundle](https://reactnative.dev/docs/ram-bundles-inline-requires) for the provided JavaScript entry file.\n\n#### Usage\n\n```sh\nnpx react-native ram-bundle --entry-file <path> [options]\n```\n\n#### Options\n\nAccepts all options supported by [`bundle`](#bundle) and the following:\n\n| Option | Description |\n| - | - |\n| `--indexed-ram-bundle` | Force the \"Indexed RAM\" bundle file format, even when building for Android. |\n\n## Contributing\n\nChanges to this package can be made locally and tested against the `rn-tester` app, per the [Contributing guide](https://reactnative.dev/contributing/overview#contributing-code). During development, this package is automatically run from source with no build step.\n","engines":{"node":">=18"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"gitHead":"95bed60a1e173316c67379f20c6596b686e2172d","_npmUser":{"name":"react-native-bot","email":"opensource+react-native-bot@fb.com"},"repository":{"url":"git+https://github.com/facebook/react-native.git","type":"git","directory":"packages/community-cli-plugin"},"_npmVersion":"9.8.1","description":"Core CLI commands for React Native","directories":{},"_nodeVersion":"18.18.0","dependencies":{"chalk":"^4.0.0","execa":"^5.1.1","metro":"^0.80.0","readline":"^1.3.0","metro-core":"^0.80.0","node-fetch":"^2.2.0","metro-config":"^0.80.0","@react-native/dev-middleware":"0.74.0-nightly-20231230-95bed60a1","@react-native-community/cli-tools":"13.0.0","@react-native/metro-babel-transformer":"0.74.0-nightly-20231230-95bed60a1","@react-native-community/cli-server-api":"13.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"metro-resolver":"^0.80.0"},"_npmOperationalInternal":{"tmp":"tmp/community-cli-plugin_0.74.0-nightly-20231230-95bed60a1_1703972158899_0.21207031561971723","host":"s3://npm-registry-packages"},"publish_time":1703972159056,"_cnpm_publish_time":1703972159056,"dist-tags":{"0.74-stable":"0.74.89","0.75-stable":"0.75.5","0.76-stable":"0.76.9","0.77-stable":"0.77.3","0.78-stable":"0.78.3","0.79-stable":"0.79.7","0.80-stable":"0.80.3","0.81-stable":"0.81.6","0.83-stable":"0.83.10","0.86-stable":"0.86.3","false":"0.74.82","latest":"0.88.1","next":"0.89.0-rc.3","nightly":"0.90.0-nightly-20261127-7a2d1d257"}}