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

@nx/react

Package Overview
Dependencies
Maintainers
4
Versions
800
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx/react

The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook. - Generators for applica

  • 20.3.0-canary.20241219-2eb5243
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
631K
decreased by-9.22%
Maintainers
4
Weekly downloads
 
Created

What is @nx/react?

@nx/react is a package that provides tools and utilities for building React applications within the Nx workspace. It helps in managing, building, and testing React applications and libraries efficiently.

What are @nx/react's main functionalities?

Create React Application

This command generates a new React application within the Nx workspace. It sets up the necessary files and configurations to get started with a React project.

npx nx generate @nx/react:application my-app

Create React Library

This command generates a new React library within the Nx workspace. It is useful for creating reusable components or utilities that can be shared across multiple applications.

npx nx generate @nx/react:library my-lib

Run React Application

This command starts a development server for the specified React application, enabling live reloading and easy development.

npx nx serve my-app

Build React Application

This command builds the specified React application for production, optimizing the output for deployment.

npx nx build my-app

Test React Application

This command runs the unit tests for the specified React application using Jest, ensuring the code is functioning as expected.

npx nx test my-app

Other packages similar to @nx/react

Keywords

FAQs

Package last updated on 19 Dec 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