feat: 更新命令脚本名称,添加 CLI 入口文件,优化用户验证逻辑

This commit is contained in:
2026-03-31 02:05:01 +08:00
parent 5c981f25a7
commit 2fd473a1b1
5 changed files with 11 additions and 3 deletions

View File

@@ -16,7 +16,7 @@
},
"scripts": {
"dev": "bun run --watch --hot src/index.ts",
"cmd": "bun run src/run.ts ",
"cli": "bun run src/cli.ts ",
"prebuild": "rimraf dist && rimraf pack-dist",
"build": "NODE_ENV=production bun bun.config.mjs",
"postbuild": "ev pack",