Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-native-windows/cli

Package Overview
Dependencies
Maintainers
2
Versions
417
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-windows/cli

CLI to build and run React Native for Windows apps.

  • 0.0.0-canary.58
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
34K
decreased by-5.87%
Maintainers
2
Weekly downloads
 
Created
Source

@react-native-windows/cli

CLI to build and run React Native for Windows apps.

Usage

Run this from an existing react-native project with React Native Windows to build and deploy apps.

Example usage

npx react-native run-windows

Options:

optiondescriptiontype
--releaseSpecifies a Release build[boolean]
--rootOverride the root directory for the windows build which contains the windows folder. (default: "E:\test63")[string]
--archThe build architecture (ARM, ARM64, x86, x64). default: x86[string]
--singleprocDisables multi-proc build[boolean]
--emulatorDeploys the app to an emulator[boolean]
--deviceDeploys the app to a connected device[boolean]
--targetDeploys the app to the specified GUID for a device[string]
--remote-debuggingDeploys the app in remote debugging mode.[boolean]
--loggingEnables logging[boolean]
--no-packagerDo not launch packager while building[boolean]
--bundleEnable Bundle configuration and it would be ReleaseBundle/DebugBundle other than Release/Debug[boolean]
--no-launchDo not launch the app after deployment[boolean]
--no-autolinkDo not run autolinking[boolean]
--no-buildDo not build the solution[boolean]
--no-deployDo not deploy the app[boolean]
--slnOverride the app solution file determined by 'react-native config', e.g. windows\myApp.sln[string]
--projOverride the app project file determined by 'react-native config', e.g. windows\myApp\myApp.vcxproj[string]
--msbuildpropsComma separated props to pass to MSBuild, eg: prop1=value1,prop2=value2[string]
--buildLogDirectoryOptional directory where MSBuild log files should be stored[string]
--infoDump environment information[boolean]
--direct-debuggingEnable direct debugging on specified port[number]
--no-telemetryDisables sending telemetry that allows analysis of usage and failures of the react-native-windows CLI[boolean]
-h, --helpoutput usage information[boolean]

Data Collection

The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

This data collection notice only applies to the process of running the react-native-windows CLI (run-windows and related tools like autolinking).

FAQs

Package last updated on 11 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc