chore(config): 更新开发脚本和文档说明

- 更新 README 中的快速开始指南,使用 ql repo 命令替代手动克隆步骤
- 移除旧的环境配置说明
- 添加新的订阅方式说明
This commit is contained in:
2025-11-02 18:14:49 +08:00
parent 6d5e28bcf3
commit 90f9ad9a5d
4 changed files with 3 additions and 15 deletions

View File

@@ -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"
```
## 脚本说明

View File

@@ -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",