Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
xcatliu committed Jun 27, 2022
1 parent 69b4977 commit 7091196
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,15 +342,15 @@ A best practice for VSCode is to auto format code with Prettier and autofix erro

```bash
# install dependencies
npm i
pnpm i
# build eslintrc like index.js, react.js, etc.
npm run build
pnpm build
# run tests
npm test
pnpm test
# autofix prettier errors
npm run prettier:fix
pnpm prettier:fix
# check if all rules are covered
npm run rulesCoverage
pnpm rulesCoverage
# publish new version
npm version <major|minor|patch>
git push --follow-tags
Expand Down
10 changes: 5 additions & 5 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,15 +368,15 @@ VSCode 的一个最佳实践就是通过配置 `.vscode/settings.json` 来支持

```bash
# 安装依赖
npm i
pnpm i
# 构建 index.js react.js 等 eslintrc 配置
npm run build
pnpm build
# 执行测试
npm test
pnpm test
# 自动修复格式错误
npm run prettier:fix
pnpm prettier:fix
# 检查是否覆盖了所有的规则
npm run rulesCoverage
pnpm rulesCoverage
# 发布新版本
npm version <major|minor|patch>
git push --follow-tags
Expand Down

0 comments on commit 7091196

Please sign in to comment.