- install.sh: режим --auto (неинтерактивный: placeholder BOT_TOKEN, ADMIN_IDS=0, секреты генерируются автоматически — для CI/SSH/установки на машины без TTY), --clean (очистка старых контейнеров/образов), авто-детект не-TTY stdin - package.json: arch:build/arch:index/arch:index:full/incremental/arch:status
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"name": "telegram-shop-bot",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"start": "node src/index.js",
|
|
"dev": "nodemon src/index.js",
|
|
"lint": "find src -name '*.js' -print0 | xargs -0 -n1 node --check",
|
|
"arch:build": "docker compose -f docker/docker-compose.architect.yml build",
|
|
"arch:index": "docker compose -f docker/docker-compose.architect.yml run --rm architect-indexer",
|
|
"arch:index:full": "docker compose -f docker/docker-compose.architect.yml run --rm architect-indexer --mode full",
|
|
"arch:index:incremental": "docker compose -f docker/docker-compose.architect.yml run --rm architect-indexer --mode incremental",
|
|
"arch:status": "docker compose -f docker/docker-compose.architect.yml ps"
|
|
},
|
|
"dependencies": {
|
|
"archiver": "^7.0.1",
|
|
"axios": "^1.7.7",
|
|
"better-sqlite3": "^11.10.0",
|
|
"bip39": "^3.1.0",
|
|
"bitcoinjs-lib": "^6.1.6",
|
|
"csv-writer": "^1.6.0",
|
|
"decompress": "^4.2.1",
|
|
"dotenv": "^16.3.1",
|
|
"ecpair": "^2.1.0",
|
|
"ethereumjs-util": "^7.1.5",
|
|
"hdkey": "^2.1.0",
|
|
"node-telegram-bot-api": "^0.64.0",
|
|
"pino": "^8.21.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"qrcode": "^1.5.4",
|
|
"tiny-secp256k1": "^2.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^3.0.2",
|
|
"playwright": "^1.61.1",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|