71 lines
2.8 KiB
JSON
71 lines
2.8 KiB
JSON
{
|
|
"name": "my-bot",
|
|
"version": "1.0.0",
|
|
"author": "Kevin Novak",
|
|
"description": "A discord.js bot template written with TypeScript",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=16.9.0"
|
|
},
|
|
"type": "module",
|
|
"exports": [
|
|
"./dist/start-bot.js",
|
|
"./dist/start-manager.js"
|
|
],
|
|
"scripts": {
|
|
"lint": "eslint . --cache --ext .js,.jsx,.ts,.tsx",
|
|
"lint:fix": "eslint . --fix --cache --ext .js,.jsx,.ts,.tsx",
|
|
"format": "prettier --check .",
|
|
"format:fix": "prettier --write .",
|
|
"clean": "git clean -xdf --exclude=\"/config/**/*\"",
|
|
"clean:dry": "git clean -xdf --exclude=\"/config/**/*\" --dry-run",
|
|
"build": "tsc --project tsconfig.json",
|
|
"commands:view": "npm run build && node --enable-source-maps dist/start-bot.js commands view",
|
|
"commands:register": "npm run build && node --enable-source-maps dist/start-bot.js commands register",
|
|
"commands:rename": "npm run build && node --enable-source-maps dist/start-bot.js commands rename",
|
|
"commands:delete": "npm run build && node --enable-source-maps dist/start-bot.js commands delete",
|
|
"commands:clear": "npm run build && node --enable-source-maps dist/start-bot.js commands clear",
|
|
"start": "npm run start:bot",
|
|
"start:bot": "npm run build && node --enable-source-maps dist/start-bot.js",
|
|
"start:manager": "npm run build && node --enable-source-maps dist/start-manager.js",
|
|
"start:pm2": "npm run build && npm run pm2:start",
|
|
"pm2:start": "pm2 start process.json",
|
|
"pm2:stop": "pm2 stop process.json",
|
|
"pm2:delete": "pm2 delete process.json"
|
|
},
|
|
"dependencies": {
|
|
"@discordjs/rest": "2.0.1",
|
|
"class-transformer": "0.5.1",
|
|
"class-validator": "0.14.0",
|
|
"cron-parser": "^4.9.0",
|
|
"discord.js": "14.13.0",
|
|
"discord.js-rate-limiter": "1.3.2",
|
|
"express": "4.18.2",
|
|
"express-promise-router": "4.1.1",
|
|
"filesize": "10.0.12",
|
|
"linguini": "1.3.1",
|
|
"luxon": "3.4.0",
|
|
"node-fetch": "3.3.2",
|
|
"node-schedule": "2.1.1",
|
|
"pino": "8.15.0",
|
|
"pino-pretty": "10.2.0",
|
|
"pm2": "^5.3.0",
|
|
"reflect-metadata": "^0.1.13",
|
|
"remove-markdown": "0.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "4.17.17",
|
|
"@types/luxon": "3.3.1",
|
|
"@types/node": "^20.5.0",
|
|
"@types/node-schedule": "2.1.0",
|
|
"@types/remove-markdown": "0.3.1",
|
|
"@typescript-eslint/eslint-plugin": "^6.4.0",
|
|
"@typescript-eslint/parser": "^6.4.0",
|
|
"eslint": "^8.47.0",
|
|
"eslint-plugin-import": "^2.28.0",
|
|
"eslint-plugin-unicorn": "^48.0.1",
|
|
"prettier": "^3.0.2",
|
|
"typescript": "^5.1.6"
|
|
}
|
|
}
|