Files
TheGame/packages/discord-bot/package.json
2024-08-13 19:04:31 -04:00

59 lines
1.4 KiB
JSON

{
"name": "@metafam/discord-bot",
"private": true,
"version": "0.1.0",
"description": "",
"author": "The MetaFam",
"license": "GPL-2.0",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=20"
},
"imports": {
"#*": {
"development": "./src/*.ts",
"default": "./dist/*.js"
}
},
"scripts": {
"start": "node ./dist/start.js",
"build": "yarn generate && tsc -b",
"dev": "concurrently \"yarn dev-ts\" \"yarn generate --watch\"",
"dev-ts": "nodemon",
"typecheck": "tsc --pretty",
"prepare": "yarn build",
"precommit": "yarn typecheck",
"generate": "graphql-codegen",
"fix:lint": "eslint --fix",
"test": "jest --passWithNoTests"
},
"dependencies": {
"@metafam/utils": "workspace:*",
"discord.js": "^14.15.3",
"dotenv": "16.0.0",
"express": "4.17.3",
"graphql": "16.9.0",
"graphql-request": "^7.1.0",
"graphql-tag": "2.12.6",
"reflect-metadata": "0.1.13"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.2",
"@types/express": "^4.17.14",
"@types/node": "18",
"nodemon": "^2.0.20",
"tslib": "^2.6.3",
"typescript": "^5.5.3"
},
"nodemonConfig": {
"exec": "node --inspect=0.0.0.0:4323 --loader ts-node/esm src/start.ts",
"watch": [
".",
"../utils"
],
"ext": "ts"
}
}