-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.1 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"name": "cligram",
"version": "0.1.0",
"description": "Telegram Bot 远程终端控制工具,基于 tmux 管理会话",
"type": "module",
"main": "dist/index.js",
"bin": {
"cligram": "bin/cligram"
},
"scripts": {
"dev": "tsx src/index.ts",
"build": "tsc",
"test": "node --import tsx --test --test-concurrency=1 tests/*.test.ts",
"start": "node dist/index.js",
"service:install": "bash scripts/service.sh install",
"service:uninstall": "bash scripts/service.sh uninstall",
"service:start": "bash scripts/service.sh start",
"service:stop": "bash scripts/service.sh stop",
"service:restart": "bash scripts/service.sh restart",
"service:enable": "bash scripts/service.sh enable",
"service:disable": "bash scripts/service.sh disable",
"service:status": "bash scripts/service.sh status",
"service:log": "bash scripts/service.sh log"
},
"dependencies": {
"sharp": "^0.34.5",
"telegraf": "^4.16.3"
},
"devDependencies": {
"@types/node": "^22.13.1",
"@types/sharp": "^0.31.1",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
}
}