Files
protojx-manager/package.json
thedrewen c658881d24 feat: add canvas dependency and implement uptime bar image generation
- Added 'canvas' dependency to package.json and package-lock.json.
- Updated getUpdatedContainer method in StatusService to be asynchronous.
- Implemented getStatusImageBar method in StatusService to generate a visual representation of uptime data.
- Modified live_status.command.ts and statut.command.ts to await the updated container.
- Created test.ts to demonstrate uptime bar generation and save it as an image.
- Updated tsconfig.json to target ES2024 and include relevant libraries.
2025-11-25 10:22:41 +01:00

43 lines
1.0 KiB
JSON

{
"name": "discordbot-ts-template",
"version": "1.0.0",
"description": "Template for an discord bot project with typescript.",
"main": "dist/index.js",
"scripts": {
"start": "tsc && node .",
"build": "tsc",
"register": "tsc && node dist/deploy-commands.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Under-scape/discordbot-ts-template.git"
},
"keywords": [
"discordjs",
"typescript",
"bot"
],
"author": "TheDreWen",
"license": "MIT",
"bugs": {
"url": "https://github.com/Under-scape/discordbot-ts-template/issues"
},
"homepage": "https://github.com/Under-scape/discordbot-ts-template#readme",
"devDependencies": {
"@types/node": "^24.9.2",
"typescript": "^5.9.2"
},
"dependencies": {
"@types/ping": "^0.4.4",
"canvas": "^3.2.0",
"cron": "^4.3.3",
"dayjs": "^1.11.19",
"discord.js": "^14.24.2",
"dotenv": "^17.2.2",
"pg": "^8.16.3",
"ping": "^1.0.0",
"reflect-metadata": "^0.2.2",
"typeorm": "^0.3.27"
}
}