Skip to content

Commit

Permalink
docs: use yarn to run scripts in unity
Browse files Browse the repository at this point in the history
  • Loading branch information
c0dedance committed Nov 1, 2022
1 parent 7825491 commit ac199f9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@
第一次启动:

```bash
yarn run bootstrap 安装子项目的依赖
yarn 安装项目的依赖

yarn run link 第一次执行需要,互相依赖的软链接
yarn bootstrap 安装子项目的依赖

npm run dev 开始执行工程
yarn link 第一次执行需要,互相依赖的软链接

yarn dev 开始执行工程
```

之后直接运行下面命令即可:

```bash
npm run dev
yarn dev
```

## 命令说明(核心维护者发包使用)
Expand Down Expand Up @@ -53,7 +55,7 @@ type(ComponentName?):commit message
如何清楚子项目的缓存?

```
npm run clean
yarn clean
```

## 结构
Expand Down

0 comments on commit ac199f9

Please sign in to comment.