Skip to content

Commit 16c52ea

Browse files
authored
docs: contributing (#17)
1 parent 11533cb commit 16c52ea

File tree

3 files changed

+62
-5
lines changed

3 files changed

+62
-5
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ npm run build
1919
```
2020

2121
项目发布
22+
- mac:
23+
```bash
24+
npm run release
25+
```
2226

23-
```bash
24-
npm run release
25-
```
27+
- windows:
28+
29+
在仓库新增一个tag即可发布项目到npm。
2630

2731
## 贡献
2832

package-lock.json

Lines changed: 53 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mlz/doraemon",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "常用工具函数集合,释放你的Ctrl C、Ctrl V",
55
"main": "lib/index.js",
66
"module": "es/index.js",
@@ -68,6 +68,7 @@
6868
"@types/jest": "^26.0.0",
6969
"@types/lodash": "^4.14.157",
7070
"copyfiles": "^2.3.0",
71+
"cross-env": "^7.0.2",
7172
"dumi": "^1.0.8",
7273
"eslint": "^7.2.0",
7374
"father-build": "^1.17.2",

0 commit comments

Comments
 (0)