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

@nrwl/react

Package Overview
Dependencies
Maintainers
7
Versions
1652
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrwl/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, Cypress, and Storybook. - Generators for applications, libraries, co

  • 20.0.0-canary.20240925-6182d20
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
419K
decreased by-24.08%
Maintainers
7
Weekly downloads
 
Created

What is @nrwl/react?

@nrwl/react is a plugin for Nx, a set of extensible dev tools for monorepos, which provides support for building React applications. It offers a range of features to streamline the development, testing, and maintenance of React applications within a monorepo setup.

What are @nrwl/react's main functionalities?

Generate React Applications

This command generates a new React application within the Nx workspace. It sets up the necessary configuration and boilerplate code to get started quickly.

nx generate @nrwl/react:application my-app

Generate React Libraries

This command generates a new React library within the Nx workspace. Libraries can be shared across multiple applications, promoting code reuse and modularity.

nx generate @nrwl/react:library my-lib

Component Generation

This command generates a new React component within a specified project. It helps in maintaining a consistent structure and reduces the boilerplate code needed for new components.

nx generate @nrwl/react:component my-component --project=my-app

Testing Support

This command runs the tests for a specified React application or library. Nx integrates with popular testing frameworks like Jest, making it easy to write and run tests.

nx test my-app

Linting

This command runs linting checks on a specified React application or library. Nx integrates with ESLint to ensure code quality and consistency across the workspace.

nx lint my-app

Other packages similar to @nrwl/react

Keywords

FAQs

Package last updated on 25 Sep 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