提交 202414b2 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

Minimum requires Node.js v12

上级 93474ddd
......@@ -60,7 +60,7 @@ Wechaty.instance() // Global Instance
.start()
```
> **Notice: Wechaty requires Node.js version >= 10**
> **Notice: Wechaty requires Node.js version >= 12**
This bot can log all messages to the console after login by scan.
......@@ -68,7 +68,7 @@ You can find more examples from [Wiki](https://github.com/Wechaty/wechaty/wiki/E
## Requirements
1. Node.js v10
1. Node.js v12
1. `sudo apt-get install build-essential && sudo snap install shellcheck`
## Getting Started
......
......@@ -18,7 +18,7 @@
"coverage": "nyc report --reporter=text-lcov | coveralls",
"changelog": "github_changelog_generator -u wechaty -p wechaty && sed -i'.bak' /greenkeeper/d CHANGELOG.md && sed -i'.bak' /Snyk/d CHANGELOG.md && sed -i'.bak' '/An in-range update of/d' CHANGELOG.md && ts-node scripts/sort-contributiveness.ts < CHANGELOG.md > CHANGELOG.new.md 2>/dev/null && cat CHANGELOG.md >> CHANGELOG.new.md && mv CHANGELOG.new.md CHANGELOG.md",
"doctor": "npm run check-node-version && ts-node bin/doctor",
"check-node-version": "check-node-version --node \">= 10\"",
"check-node-version": "check-node-version --node \">= 12\"",
"lint": "npm run check-node-version && npm run lint:es && npm run lint:ts && npm run lint:sh && npm run lint:md",
"lint:es": "eslint --ignore-pattern node_modules/ --ignore-pattern fixtures/ \"{bin,examples,src,scripts,tests}/**/*.ts\"",
"lint:md": "markdownlint README.md",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册