Socket
Socket
Sign inDemoInstall

react-scripts

Package Overview
Dependencies
872
Maintainers
5
Versions
134
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-scripts

Configuration and scripts for Create React App.


Version published
Weekly downloads
3.1M
increased by4.41%
Maintainers
5
Install size
121 MB
Created
Weekly downloads
 

Package description

What is react-scripts?

The react-scripts package is a set of scripts from the create-react-app starter kit that help automate the setup and management of React applications. It includes scripts for building, testing, and starting a development server, among other tasks, without the need for configuring these processes manually.

What are react-scripts's main functionalities?

Starting a Development Server

This command starts a development server that serves your React application, enabling hot module replacement for a better development experience.

npm start

Building the Application for Production

This command compiles the React application into static files for production deployment, optimizing the build for the best performance.

npm run build

Running Tests

This command runs the test runner in the interactive watch mode, allowing developers to write and run tests for their components and modules.

npm test

Ejecting Configuration

This command will remove the single build dependency from your project, copying all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them.

npm run eject

Other packages similar to react-scripts

Readme

Source

react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

  • Getting Started – How to create a new app.
  • User Guide – How to develop apps bootstrapped with Create React App.

FAQs

Last updated on 12 Apr 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc