chore(config): 更新开发脚本和文档说明
- 更新 README 中的快速开始指南,使用 ql repo 命令替代手动克隆步骤 - 移除旧的环境配置说明 - 添加新的订阅方式说明
This commit is contained in:
16
README.md
16
README.md
@@ -22,21 +22,9 @@
|
||||
|
||||
### 快速开始
|
||||
|
||||
1. 克隆仓库
|
||||
1. 订阅
|
||||
```bash
|
||||
git clone https://github.com/your-username/ql-scripts.git
|
||||
cd ql-scripts
|
||||
```
|
||||
|
||||
2. 安装依赖
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
3. 配置环境变量
|
||||
```bash
|
||||
cp .env.local .env
|
||||
# 编辑 .env 文件,填入必要的配置信息
|
||||
ql repo https://gitea.zhuhjay.cn/zhuhjay/ql-scripts.git "scrip_" "" "sendNotify|common" "js"
|
||||
```
|
||||
|
||||
## 脚本说明
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"dev": "npx env-cmd -f .env.local node xiequ/switch.js",
|
||||
"dev": "npx env-cmd -f .env.local node xiequ/scrip_switch.js",
|
||||
"test": "jest",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
|
||||
Reference in New Issue
Block a user