add build script

This commit is contained in:
Fran Jurmanović
2024-05-20 23:18:22 +02:00
parent 11a26bff83
commit 3c6bdeab60
2 changed files with 4 additions and 1 deletions

View File

@@ -3,7 +3,9 @@
"version": "2.0.7",
"main": "src/app.ts",
"scripts": {
"start": "bun run src/app.ts"
"start": "bun run src/app.ts",
"build-script": "bun build src/app.ts --outdir dist --target bun",
"start-build": "bun run dist/app.js"
},
"author": "Fran Jurmanović <fjurma12@outlook.com>",
"license": "MIT",
@@ -18,6 +20,7 @@
"discord.js": "^12.5.1",
"dotenv": "^8.2.0",
"elysia": "^0.7.15",
"ffmpeg-static": "^5.2.0",
"lodash-es": "^4.17.21",
"minimatch": "^9.0.3",
"pino": "^8.15.4",