{"name":"@react-native/community-cli-plugin","version":"0.75.0-nightly-20240604-744024be7","keywords":["react-native","tools"],"license":"MIT","_id":"@react-native/community-cli-plugin@0.75.0-nightly-20240604-744024be7","maintainers":[{"name":"react-native-bot","email":"opensource+react-native-bot@fb.com"},{"name":"fb","email":"opensource+npm@fb.com"}],"homepage":"https://github.com/facebook/react-native/tree/HEAD/packages/community-cli-plugin#readme","bugs":{"url":"https://github.com/facebook/react-native/issues"},"dist":{"shasum":"1902b7e9ac1458e6b1dcc419239e743eca26be25","tarball":"http://registry-npm.ywwl.com/@react-native/community-cli-plugin/download/@react-native/community-cli-plugin-0.75.0-nightly-20240604-744024be7.tgz","fileCount":36,"integrity":"sha512-ULPbItnq7zQYJcZYIhE7nRfTlaE3Z31PSGNi59Tv4qXTYW8JePldKNebAOo+F/NhJuEhlnKucZbDPth/+OzHMg==","signatures":[{"sig":"MEUCID/qUILHQuYXzgCVWTWFAiH4Gs6d9c0qQOJZXNyiOS9ZAiEAkmk7hJKnf72lcCR/oQJUnCp5BkwPfHlLJkQVgdIhvJs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60344,"size":15055,"noattachment":false,"key":"/@react-native/community-cli-plugin/-/@react-native/community-cli-plugin-0.75.0-nightly-20240604-744024be7.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| `--resolver-option <string...>` | Custom resolver options of the form key=value. URL-encoded. May be specified multiple times. |\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## 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":"744024be7f95970bdd786931bdf10dd50c515124","_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":"10.2.3","description":"Core CLI commands for React Native","directories":{},"_nodeVersion":"18.19.0","dependencies":{"chalk":"^4.0.0","execa":"^5.1.1","metro":"^0.80.3","readline":"^1.3.0","metro-core":"^0.80.3","node-fetch":"^2.2.0","querystring":"^0.2.1","metro-config":"^0.80.3","@react-native/dev-middleware":"0.75.0-nightly-20240604-744024be7","@react-native-community/cli-tools":"14.0.0-alpha.2","@react-native/metro-babel-transformer":"0.75.0-nightly-20240604-744024be7","@react-native-community/cli-server-api":"14.0.0-alpha.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"metro-resolver":"^0.80.3"},"_npmOperationalInternal":{"tmp":"tmp/community-cli-plugin_0.75.0-nightly-20240604-744024be7_1717537489292_0.20900622382832346","host":"s3://npm-registry-packages"},"publish_time":1717537489519,"_cnpm_publish_time":1717537489519,"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"}}