重构浏览器启动逻辑,优化连接设置,更新依赖项,增强功能和可读性

This commit is contained in:
2025-12-29 19:43:45 +08:00
parent 9067be1293
commit f15f6f14e4
11 changed files with 144 additions and 136 deletions

View File

@@ -17,9 +17,8 @@
"dev": "tsx watch src/index.ts",
"init:browser": "npx playwright install",
"build": "bun run bun.config.ts",
"browser": "pm2 start start-browser.js --name browser-helper",
"browser": "pm2 start start-browser.js --name browser ",
"cmd": "tsx src/test/cmd.ts ",
"pm2": "pm2 start dist/app.js --name /root/browser-helper",
"init": "pnpm run init:pnpm && pnpm run init:db && pnpm run init:browser",
"init:pnpm": "pnpm approve-builds",
"init:db": "npx drizzle-kit push",
@@ -57,7 +56,6 @@
"drizzle-orm": "^0.45.1",
"es-toolkit": "^1.43.0",
"eventemitter3": "^5.0.1",
"lru-cache": "^11.2.4",
"window-size": "^1.1.1"
"lru-cache": "^11.2.4"
}
}