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
4
Versions
403
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.75.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
36K
decreased by-20.2%
Maintainers
4
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 (ARM64, x86, x64). defaults to system architecture[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]
--deploy-from-layoutForce deploy from layout, even in release builds[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 28 Oct 2024

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