- Dockerfile: multi-stage build (builder with python3+g++ for native addons) - Dockerfile: wireguard-tools from edge/community repo - Dockerfile: removed USER appuser (start.sh needs root for wg-quick) - Dockerfile: health check on port 3000 - Added /health HTTP endpoint in index.js for Docker healthcheck - Fixed productValidator.js: added named exports (validateProductName, validateProductPrice) - Added better-sqlite3 as fallback dependency
30 lines
658 B
JSON
30 lines
658 B
JSON
{
|
|
"name": "telegram-shop-bot",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"dev": "nodemon src/index.js"
|
|
},
|
|
"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",
|
|
"sqlite3": "^5.1.6",
|
|
"tiny-secp256k1": "^2.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^3.0.2"
|
|
}
|
|
}
|