Socket
Socket
Sign inDemoInstall

@nx/react

Package Overview
Dependencies
11
Maintainers
5
Versions
462
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx/react


Version published
Maintainers
5
Created

Package description

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

Readme

Source

Nx - Smart, Fast and Extensible Build System

CircleCI License NPM Version Semantic Release Commitizen friendly Join the chat at https://gitter.im/nrwl-nx/community Join us @nx/community on slack


Nx: Smart, Fast and Extensible Build System

Nx is a next generation build system with first class monorepo support and powerful integrations.

This package is a React plugin for Nx.

Getting Started

Creating an Nx Workspace

Using npx

npx create-nx-workspace

Using npm init

npm init nx-workspace

Using yarn create

yarn create nx-workspace

Adding Nx to an Existing Repository

Run:

npx nx@latest init

Documentation & Resources

Nx - Smart, Fast and Extensible Build System

Keywords

FAQs

Last updated on 23 Aug 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc