Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 3.48 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 3.48 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "@monky/bot",
"version": "1.0.0",
"description": "Monky Bot — the official universal reference bot for Monky",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "ts-node src/index.ts",
"cli": "monky-bot-sdk cli",
"pack": "node scripts/pack.js",
"check:sdk": "node scripts/check-sdk.js",
"test": "npm run build && node --test",
"test:games:browser": "npm run build && node tests/games-browser.cjs",
"smoke:pack": "node scripts/smoke-pack.js"
},
"keywords": [
"monky",
"bot",
"discord-like"
],
"author": "MonkyOrg",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MonkyOrg/MonkyBot.git"
},
"homepage": "https://github.com/MonkyOrg/MonkyBot#readme",
"engines": {
"node": ">=18"
},
"monky": {
"protocolVersion": 40
},
"monkyBot": {
"cliName": "monkybot",
"displayName": "MonkyBot",
"entry": "dist/index.js",
"buildScript": "build",
"files": [
"dist",
"assets"
],
"modes": [
"manual",
"marketplace"
],
"releases": {
"url": "https://github.com/MonkyOrg/MonkyBot/releases",
"assetName": "monky-bot-{version}.tgz"
},
"requirements": {
"notice": {
"pt-BR": "Música: buscas e áudio do YouTube são obtidos no computador de quem pede, pelo cliente Monky (execução local autorizada pela própria pessoa); este host não acessa o YouTube nem precisa de yt-dlp ou FFmpeg. Ele recebe esse áudio e o publica nas salas de voz por WebRTC. Lembretes e sorteios ficam em .keys/scheduled-actions.json. /doom e /nes abrem sob demanda a porta games, que serve os arquivos dos jogos e o multiplayer a todos os jogadores; ROMs do NES ficam somente na memória.",
"en": "Music: YouTube searches and audio are fetched on the requester's computer by the Monky client (local execution authorized by that person); this host neither contacts YouTube nor needs yt-dlp or FFmpeg. It receives that audio and publishes it to voice rooms over WebRTC. Reminders and giveaways are stored in .keys/scheduled-actions.json. /doom and /nes open the games port on demand, serving game assets and multiplayer to every player; NES ROMs stay in memory only."
},
"ports": [
{
"id": "games",
"description": {
"pt-BR": "Jogos /doom e /nes: arquivos e multiplayer (HTTP e WebSocket); todos os jogadores precisam acessar",
"en": "/doom and /nes games: assets and multiplayer (HTTP and WebSocket); every player must reach it"
},
"protocol": "tcp",
"portEnv": "MONKY_GAMES_PORT",
"defaultPort": 7781,
"hostEnv": "MONKY_GAMES_HOST",
"publicUrlEnv": "MONKY_GAMES_PUBLIC_URL",
"exposure": "public",
"when": "on-demand"
}
],
"settings": [
{
"env": "MONKY_MUSIC_GRACE_SECONDS",
"description": {
"pt-BR": "Padrão, em segundos (1 a 600, padrão 60), para sair de uma sala vazia ou de uma fila ociosa",
"en": "Default seconds (1 to 600, default 60) before leaving an empty voice room or an idle queue"
}
}
]
}
},
"dependencies": {
"@monky/bot-sdk": "file:vendor/monky-bot-sdk-41.5.3-beta.tgz",
"jsnes": "2.1.0",
"ws": "8.18.3"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/ws": "8.18.1",
"ts-node": "^10.9.0",
"typescript": "^5.5.0"
}
}