mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
chore: specify npm as the package manager (#42611)
* chore: specify npm as the package manager * chore: update version * Update package.json Co-authored-by: afc163 <afc163@gmail.com> --------- Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
parent
03a7374aa1
commit
c3364cf77e
@ -62,6 +62,12 @@ Since antd's components are based on react-component, sometimes you may need to
|
||||
|
||||
## Development Workflow
|
||||
|
||||
Before you can start you must run the following command to enable [corepack](https://nodejs.org/api/corepack.html)。
|
||||
|
||||
```bash
|
||||
corepack enable
|
||||
```
|
||||
|
||||
After cloning antd, run `npm install` to fetch its dependencies. Then, you can run several commands:
|
||||
|
||||
1. `npm start` runs Ant Design website locally.
|
||||
|
@ -62,6 +62,12 @@ Ant Design 团队会关注所有的 pull request,我们会 review 以及合并
|
||||
|
||||
## 开发流程
|
||||
|
||||
在开始之前,请先执行下面的命令启用 [corepack](https://nodejs.org/api/corepack.html)。
|
||||
|
||||
```bash
|
||||
corepack enable
|
||||
```
|
||||
|
||||
在你 clone 了 antd 的代码并且使用 `npm install` 安装完依赖后,你还可以运行下面几个常用的命令:
|
||||
|
||||
1. `npm start` 在本地运行 Ant Design 的网站。
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "antd",
|
||||
"version": "5.5.1",
|
||||
"packageManager": "^npm@9.0.0",
|
||||
"description": "An enterprise-class UI design language and React components implementation",
|
||||
"title": "Ant Design",
|
||||
"keywords": [
|
||||
|
Loading…
Reference in New Issue
Block a user