Updated ESlint Config and Housekeeping

This commit is contained in:
Ahmad 2024-11-16 19:05:52 -05:00
parent a65a38f00a
commit 5d5ca66e5d
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
12 changed files with 512 additions and 107 deletions

View file

@ -1,7 +1,7 @@
{
"name": "poixpixel-discord-bot",
"version": "1.0.0",
"main": "./source/discord-bot.ts",
"main": "./src/discord-bot.ts",
"author": "Poixpixel",
"license": "Apache-2.0",
"type": "module",
@ -10,14 +10,18 @@
"compile": "npx tsc",
"target": "node ./target/discord-bot.js",
"start": "yarn run compile && yarn run target",
"lint": "npx eslint ./source --ext .ts"
"lint": "npx eslint ./src"
},
"dependencies": {
"discord.js": "^14.16.3",
"mongoose": "^8.8.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"eslint": "^9.15.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"