{"name":"@react-native-community/cli-platform-android","version":"2.0.1","_id":"@react-native-community/cli-platform-android@2.0.1","maintainers":[{"name":"ansal_ali","email":"ansalibrahim@gmail.com"},{"name":"bartolkaruza","email":"bartol.k+npm@gmail.com"},{"name":"charpeni","email":"nicolas.charpentier079@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmtr.kovalenko","email":"dmtr.kovalenko@outlook.com"},{"name":"empyrical","email":"empyrical@outlook.com"},{"name":"esemesek","email":"kacperwiszczuk@gmail.com"},{"name":"ferrannp","email":"fnp.developer@gmail.com"},{"name":"grabbou","email":"grabbou@gmail.com"},{"name":"janicduplessis","email":"janicduplessis@gmail.com"},{"name":"johan.dev","email":"jdutoit.dev@gmail.com"},{"name":"kelset","email":"lorenzo.sciandra@gmail.com"},{"name":"krizzu","email":"krizzu.dev@gmail.com"},{"name":"mattoakes","email":"hello@mattoakes.net"},{"name":"mike.nedosekin","email":"crespo8800@gmail.com"},{"name":"mike866","email":"michal.chudziak@gmail.com"},{"name":"mmazzarolo","email":"mazzarolomatteo@gmail.com"},{"name":"msand","email":"msand@abo.fi"},{"name":"nicholaslee119","email":"nicholaslee119@gmail.com"},{"name":"rafaellpa","email":"rafaellincolnpereira@gmail.com"},{"name":"react-native-community-bot","email":"malbranche.thibault+bot@gmail.com"},{"name":"rewieer","email":"rewieer@gmail.com"},{"name":"satya164","email":"satyajit.happy@gmail.com"},{"name":"scott.beca","email":"scott.beca@gmail.com"},{"name":"swaagie","email":"martijn@swaagman.online"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"titozzz","email":"malbranche.thibault@gmail.com"},{"name":"trensik","email":"tranceverrr@gmail.com"},{"name":"wagnermaciel","email":"wagnermacieljunior@gmail.com"}],"dist":{"shasum":"5a334034adb1cb949deffc310fd555ffe4255812","tarball":"http://registry-npm.ywwl.com/@react-native-community/cli-platform-android/download/@react-native-community/cli-platform-android-2.0.1.tgz","fileCount":33,"integrity":"sha512-N7PbX6WUCDrOeZjMqukjiktelmu3JFgBcvREU31mkgV8gmJWj+W2CwfT5Gi1iVhTrSbgeWrfcQa3dIGE4DDBmg==","signatures":[{"sig":"MEUCIFphgpi3PVk9kptd2sJq5hMwLPlOFOWlIGKx3AZISEYpAiEA3OIyRLNEmFxgr61aK0qRzjqSBJ2zVUrufhxayaqxd3Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHIv2CRA9TVsSAnZWagAApuAP/106Dbp/yLdVtBM+IiEu\nDlOiYC+5sYZez1Fv2f8BDsudz4EiDhpt3GYTewEfDuNiijPspguE7xqy/OdP\nXGOpffCMkuUFxvK9FrZl/kHtQHTBA1Uss02xCCSK8C+bJvs+K30Dmk+Xz/Cn\nub3tEBpmEgqSWVADDbMgMDr0iCcuhwVe4VO+NUUdzKHUh8p4eY9/8vAPrL9X\nndjYknKjfGQDSCZMBk32JWDg9usgu0FhajdNNRr5r7QrNPGsRKOximJDKRik\n0CCERT7n3UVLEaEdomzpOcyWNWKMj9o8bY2gaD18elVMlp/lOBrlmYJFHvCn\nm8/i1xPS3JAde32d6nEpIx+6/qkTm508+v8SVPVPoobJnm+CWxRVdZuOEe1J\nFCSoCci2I6CqQcgdYBwsKJMRx42Jvm6XctlhoLC2+m6+EWpNMt72XR97UJAj\nUUFS1qt+bmxGwKUzD2E2Fc8aDH2fplOFgWOI9bomr1AhyQHTu356BflVqgEV\nRcIGmtfmCw219aD8cH+EOsi/5mtlUEPwmxU77GhrMnRHD9ZMdeky4cAdp9wE\nfrhQnNa7InJ6Xh5zdw+MBmOaun3tKqgIzjzgyiiL3HyFl7kHbYyNkKTt26d7\nE+5nYlUDAW1GOSkRQqExfb+wbOv7JI19YA2SMoyfOuT+EtrOFRizxCsZBFdi\nBR09\r\n=TVsk\r\n-----END PGP SIGNATURE-----\r\n","size":12991,"noattachment":false,"key":"/@react-native-community/cli-platform-android/-/@react-native-community/cli-platform-android-2.0.1.tgz"},"main":"build/index.js","gitHead":"2cd6c7fd6083f2101989dbfbb7b4f31a8ecc9aeb","_npmUser":{"name":"thymikee","email":"thymikee@gmail.com"},"_npmVersion":"lerna/3.14.0/node@v10.16.0+x64 (darwin)","directories":{},"_nodeVersion":"10.16.0","dependencies":{"slash":"^2.0.0","xmldoc":"^0.4.0","logkitty":"^0.4.0","@react-native-community/cli-tools":"^2.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cli-platform-android_2.0.1_1562151925363_0.3798859709083833","host":"s3://npm-registry-packages"},"readme":"# @react-native-community/cli-platform-android\n\nThis package is part of the [React Native CLI](../../README.md). It contains commands for managing the Android part of React Native app.\n\n## Installation\n\n```sh\nyarn add @react-native-community/cli-platform-android\n```\n\n## Commands\n\n### `run-android`\n\nUsage:\n\n```sh\nnpx react-native run-android [options]\n```\n\nBuilds your app and starts it on a connected Android emulator or device.\n\n#### Options\n\n#### `--appId <string>`\n\nSpecify an `applicationId` to launch after build. If not specified, `package` from AndroidManifest.xml will be used.\n\n#### `--appIdSuffix <string>`\n\nSpecify an `applicationIdSuffix` to launch after build.\n\n#### `--main-activity <string>`\n\n> default: 'MainActivity'\n\nName of the activity to start.\n\n#### `--device <string>`\n\nExplicitly set the device to use by name. The value is not required if you have a single device connected.\n\n#### `--deviceId <string>`\n\n> **DEPRECATED** - use `--device <string>` instead\n\nBuilds your app and starts it on a specific device with the given device id (listed by running \"adb devices\" on the command line).\n\n#### `--no-packager`\n\nDo not launch packager while building.\n\n#### `--port <number>`\n\n> default: process.env.RCT_METRO_PORT || 8081\n\n#### `--terminal <string>`\n\n> default: process.env.REACT_TERMINAL || process.env.TERM_PROGRAM\n\nLaunches the Metro Bundler in a new window using the specified terminal path.\n\n#### `--tasks <list>`\n\n> default: 'installDebug'\n\nRun custom gradle tasks. If this argument is provided, then `--mode` option is ignored.\nExample: `yarn react-native run-android --tasks clean,installDebug`.\n\n#### `--active-arch-only`\n\n> default: false\n\nBuild native libraries only for the current device architecture for debug builds.\n\n#### `--list-devices`\n\n> default: false\n\nList all available Android devices and simulators and let you choose one to run the app.\n\n#### `--interactive`, `-i`\n\nManually select a task and device/simulator you want to run your app on.\n\n> [!WARNING]  \n> This flag is running `./gradlew tasks` under the hood, which might take some time for more complex apps. If that affects your project, consider using `--mode` and `--deviceId` flags instead.\n\n### `build-android`\n\nUsage:\n\n```sh\nnpx react-native build-android [options]\n```\n\nBuilds Android app.\n\n#### Options\n\n#### `--mode <string>`\n\n> default: debug\n\nMode to build the app. Either 'debug' (default) or 'release'.\n\n#### `--extra-params <string>`\n\nCustom params that will be passed to gradle build command.\nExample:\n\n```sh\nnpx react-native build-android --extra-params \"-x lint -x test\"\n```\n\n#### `--binary-path <path>`\n\nInstalls passed binary instead of building a fresh one. This command is not compatible with `--tasks`.\n\n#### `--user` <number | string>\n\nId of the User Profile you want to install the app on.\n\n### `log-android`\n\nUsage:\n\n```sh\nnpx react-native log-android\n```\n\nStarts [`logkitty`](https://github.com/zamotany/logkitty) displaying pretty Android logs.\n","publish_time":1562151925530,"_cnpm_publish_time":1562151925530,"dist-tags":{"11.x":"11.4.1","12.x":"12.3.7","14.x":"14.1.2","16.x":"16.0.3","17.x":"17.0.1","18.x":"18.0.1","19.x":"19.1.2","7.x":"6.3.1","9.x":"9.3.4","latest":"20.2.0","next":"21.0.0-alpha.1","v7.0.1":"7.0.1"}}