fp/services/bot/package.json

57 lines
1.9 KiB
JSON

{
"name": "@futureporn/bot",
"type": "module",
"version": "1.0.4",
"description": "Futureporn Discord bot",
"main": "dist/index.js",
"scripts": {
"test": "echo \"please use one of test.integration or test.unit",
"test.integration": "mocha -g integration",
"test.unit": "mocha -g unit",
"start": "node ./dist/index.js",
"dev": "pnpm run dev.nodemon # yes this is crazy to have nodemon execute tsx, but it's the only way I have found to get live reloading in TS/ESM/docker with Graphile Worker's way of loading tasks",
"dev.tsx": "tsx ./src/index.ts",
"dev.nodemon": "nodemon --ext ts --exec \"pnpm run dev.tsx\"",
"dev.node": "node --no-warnings=ExperimentalWarning --loader ts-node/esm src/index.ts",
"build": "tsc --build",
"clean": "rm -rf dist",
"superclean": "rm -rf node_modules && rm -rf pnpm-lock.yaml && rm -rf dist",
"register": "tsx ./src/register-commands.ts"
},
"packageManager": "pnpm@9.6.0",
"keywords": [],
"author": "@CJ_Clippy",
"license": "Unlicense",
"dependencies": {
"@discordeno/bot": "19.0.0-next.b1bfe94",
"@discordeno/rest": "19.0.0-next.b3a8c86",
"@futureporn/fetchers": "workspace:^",
"@paralleldrive/cuid2": "^2.2.2",
"@types/node": "^22.5.2",
"@types/qs": "^6.9.15",
"date-fns": "^3.6.0",
"dd-cache-proxy": "^2.1.2",
"discordeno": "19.0.0-next.b3a8c86",
"dotenv": "^16.4.5",
"graphile-config": "0.0.1-beta.9",
"graphile-worker": "^0.16.6",
"node-fetch": "^3.3.2",
"p-retry": "^6.2.0",
"pg": "8.12.0",
"pretty-bytes": "^6.1.1",
"qs": "^6.13.0",
"rate-limiter-flexible": "^5.0.3"
},
"devDependencies": {
"@futureporn/types": "workspace:^",
"@types/chai": "^4.3.19",
"@types/mocha": "^10.0.7",
"chai": "^5.1.1",
"mocha": "^10.7.3",
"nodemon": "^3.1.4",
"ts-node": "^10.9.2",
"tsx": "^4.19.0",
"typescript": "^5.5.4"
}
}