# 使用 npm 安装 react-scripts

查看 react-scripts 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:react-scripts
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g react-scripts
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:react-scripts
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/react-scripts>
- **版本:** 5.0.1
- **来源摘要:** Configuration and scripts for Create React App.
- **主页:** <https://github.com/facebook/create-react-app#readme>
- **仓库:** <https://github.com/facebook/create-react-app>
- **上游文档:** <https://github.com/facebook/create-react-app#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/react-scripts/-/react-scripts-5.0.1.tgz>
- **问题跟踪器:** <https://github.com/facebook/create-react-app/issues>
- **发布时间:** 2022-04-12T17:33:23.210Z
- **最后更新:** 2022-04-12T17:33:23.210Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- react-scripts (cli)
- react-scripts (别名)

## 依赖

- @babel/core
- @pmmmwh/react-refresh-webpack-plugin
- @svgr/webpack
- babel-jest
- babel-loader
- babel-plugin-named-asset-import
- babel-preset-react-app
- bfj
- browserslist
- camelcase
- case-sensitive-paths-webpack-plugin
- css-loader
- css-minimizer-webpack-plugin
- dotenv
- dotenv-expand
- eslint
- eslint-config-react-app
- eslint-webpack-plugin
- file-loader
- fs-extra
- fsevents
- html-webpack-plugin
- identity-obj-proxy
- jest
- jest-resolve
- jest-watch-typeahead
- mini-css-extract-plugin
- postcss
- postcss-flexbugs-fixes
- postcss-loader
- postcss-normalize
- postcss-preset-env
- prompts
- react-app-polyfill
- react-dev-utils
- react-refresh
- resolve
- resolve-url-loader
- sass-loader
- semver
- source-map-loader
- style-loader
- tailwindcss
- terser-webpack-plugin
- webpack
- webpack-dev-server
- webpack-manifest-plugin
- workbox-webpack-plugin

## 构建依赖

- react
- react-dom

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 5.0.1
- 管理器更新时间: 2022-04-12
- 本地数据: OK
- 上游仓库: https://github.com/facebook/create-react-app
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 react-scripts 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Canary: 3.3.0-next.38, Latest: 5.0.1, Next: 5.1.0-next.26
- **Version Count:** 135
- **Maintainers:** fb, timer, iansu, ianschmitz, rickhanlonii
- **Publisher:** iansu
- **Engines:** Node: >=14.0.0
- **Peer Dependencies:** react, typescript
- **Optional Dependencies:** fsevents
- **Integrity:** sha512-8VAmEm/ZAwQzJ+GOMLbBsTdDKOpuZh7RPs0UymvBR2vRk4iZWCskjbFnxqjrzoIvlNNRZ3QJFx6/qDSi6zSnaQ==
- **Shasum:** 6285dbd65a8ba6e49ca8d651ce30645a6d980003
- **Unpacked Size:** 116,036
- **File Count:** 0
- **Created At:** 2016-07-18T21:49:37.594Z
- **Latest Published At:** 2022-04-12T17:33:23.210Z
- **Modified At:** 2026-04-10T01:43:01.648Z


## 相关链接

- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [react-static](https://www.automicvault.com/zh-hans/pkg/npm/react-static/) - Package names and metadata indicate a similar tool family. Shared terms: babel, babel-loader, case, case-sensitive-paths-webpack-plugin, cli.
- [preact-cli](https://www.automicvault.com/zh-hans/pkg/npm/preact-cli/) - Local package facts share a topical domain. Shared terms: babel, babel-loader, browserslist, cli, core.
- [react-client](https://www.automicvault.com/zh-hans/pkg/npm/react-client/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, development, extra.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
