♻️ refactor!: migrates to Bun runtime

This commit is contained in:
2025-08-08 15:45:42 +07:00
parent a2d7c4237b
commit 3b9877d257
6 changed files with 138 additions and 1120 deletions
+8 -10
View File
@@ -1,23 +1,21 @@
{
"name": "tenki",
"version": "1.0.0",
"main": "index.js",
"main": "src/index.ts",
"type": "module",
"repository": "https://github.com/YuzuZensai/Tenki.git",
"author": "Yuzu <yuzu@kirameki.cafe>",
"license": "MIT",
"devDependencies": {
"@types/express": "^4.17.18",
"ts-node-dev": "^2.0.0",
"typescript": "^5.2.2"
"bun-types": "latest"
},
"scripts": {
"tsc": "tsc",
"dev": "ts-node-dev ./src/index.ts --respawn --transpileOnly",
"development": "ts-node-dev ./src/index.ts --respawn --transpileOnly",
"build": "tsc -b"
"dev": "bun run --hot src/index.ts",
"start": "bun run src/index.ts",
"build": "bun build src/index.ts --outdir ./dist --target bun"
},
"dependencies": {
"axios": "^1.5.0",
"express": "^4.18.2"
"@elysiajs/cors": "^1.3.3",
"elysia": "latest"
}
}