瀏覽代碼

chore: fix npm to yarn in contributing.md and package.json (#3274)

* chore: fix npm to yarn in contributing.md

* chore: fix npm pack to yarn pack
vanilla_orig
Matias Capeletto 4 年之前
父節點
當前提交
0e3eb3cc63
No account linked to committer's email address
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      CONTRIBUTING.md
  2. 1
    1
      src/packages/utils/package.json

+ 1
- 1
CONTRIBUTING.md 查看文件

5
 ### Option 1 - Manual
5
 ### Option 1 - Manual
6
 
6
 
7
 1. Fork and clone the repo
7
 1. Fork and clone the repo
8
-1. Run `npm install` to install dependencies
8
+1. Run `yarn` to install dependencies
9
 1. Create a branch for your PR with `git checkout -b your-branch-name`
9
 1. Create a branch for your PR with `git checkout -b your-branch-name`
10
 
10
 
11
 > To keep `master` branch pointing to remote repository and make pull requests from branches on your fork. To do this, run:
11
 > To keep `master` branch pointing to remote repository and make pull requests from branches on your fork. To do this, run:

+ 1
- 1
src/packages/utils/package.json 查看文件

57
   "scripts": {
57
   "scripts": {
58
     "build:umd": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js",
58
     "build:umd": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js",
59
     "build:umd:withAnalyzer": "cross-env NODE_ENV=production ANALYZER=true webpack --config webpack.prod.config.js",
59
     "build:umd:withAnalyzer": "cross-env NODE_ENV=production ANALYZER=true webpack --config webpack.prod.config.js",
60
-    "pack": "yarn build:umd && npm pack"
60
+    "pack": "yarn build:umd && yarn pack"
61
   }
61
   }
62
 }
62
 }

Loading…
取消
儲存