← 返回命令列表

Linux command

react-scripts 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Start development server

react-scripts start

Build for production

react-scripts build

Run tests

react-scripts test

Eject configuration

react-scripts eject

说明

react-scripts is the build tool for Create React App. It encapsulates webpack, Babel, ESLint, and other tools with zero configuration, handling development server, building, and testing.

FAQ

What is the react-scripts command used for?

react-scripts is the build tool for Create React App. It encapsulates webpack, Babel, ESLint, and other tools with zero configuration, handling development server, building, and testing.

How do I run a basic react-scripts example?

Run `react-scripts start` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more react-scripts examples?

This page includes 4 examples for react-scripts, plus related commands for nearby Linux tasks.