Skip to content

Commit

Permalink
feat!: switch to bun
Browse files Browse the repository at this point in the history
  • Loading branch information
opti21 committed Oct 1, 2024
1 parent 7f2ec1d commit fc04e41
Show file tree
Hide file tree
Showing 23 changed files with 423 additions and 3,118 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# pepega-bot

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.js
```

This project was created using `bun init` in bun v1.1.24. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
Binary file added bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello via Bun!");
26 changes: 8 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,17 @@
{
"name": "pepega-bot",
"version": "1.4.2",
"description": "",
"main": "index.js",
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,",
"deploy": "prisma migrate deploy",
"build": "tsc",
"clean": "rm -rf dist build",
"dev": "nodemon --config nodemon.json src/index.ts",
"dev:debug": "nodemon --config nodemon.json --inspect-brk src/index.ts",
"start": "node dist/index.js"
},
"author": "opti21",
"license": "ISC",
"name": "sethdrums-chat-bot",
"module": "index.ts",
"type": "module",
"dependencies": {
"@growthbook/growthbook": "^0.17.0",
"@libsql/client": "^0.5.6",
"@prisma/adapter-libsql": "^5.11.0",
"@prisma/client": "^5.11.0",
"@sentry/node": "^6.19.7",
"@sentry/tracing": "^6.19.7",
"@types/express": "^4.17.13",
"axios": "^0.25.0",
"dayjs": "^1.11.5",
"dotenv": "^15.0.0",
"express": "^4.17.3",
"hono": "^4.6.3",
"ioredis": "^4.28.3",
"js-video-url-parser": "^0.5.1",
"pusher": "^5.0.1",
Expand All @@ -34,6 +20,7 @@
"tmi.js": "^1.8.5"
},
"devDependencies": {
"@types/bun": "^1.1.10",
"@types/ioredis": "^4.28.7",
"@types/node": "^17.0.17",
"@types/tmi.js": "^1.8.1",
Expand All @@ -45,5 +32,8 @@
"prisma": "^5.11.0",
"ts-node": "^10.4.0",
"typescript": "^5.4.3"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
Loading

0 comments on commit fc04e41

Please sign in to comment.