Socket
Socket
Sign inDemoInstall

@nrwl/react

Package Overview
Dependencies
Maintainers
6
Versions
1617
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


Version published
Weekly downloads
689K
decreased by-10.44%
Maintainers
6
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 05 Jul 2023

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