Initial commit of refactor

This commit is contained in:
Bradley Bickford 2025-06-22 09:02:32 -04:00
commit de638f3e98
5 changed files with 2349 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
node_modules
.env

2309
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

23
package.json Normal file
View File

@ -0,0 +1,23 @@
{
"name": "breadbot-test",
"version": "1.0.0",
"main": "breadbot.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"discord.js": "^14.20.0",
"dotenv": "^16.5.0"
},
"devDependencies": {
"tsup": "^8.5.0",
"tsx": "^4.20.3",
"typescript": "^5.8.3"
},
"dev": "tsx watch src/index.ts",
"start": "node dist/index.js",
"build": "tsup src/index.ts --minify"
}

0
src/breadbot.ts Normal file
View File

15
tsconfig.json Normal file
View File

@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "commonjs",
"rootDir": "./src",
"outDir": "./dist",
"removeComments": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"strictNullChecks": true,
"skipLibCheck": true
}
}