Elysia init

This commit is contained in:
2024-10-19 19:41:04 +02:00
parent f59dd37825
commit 9e4076e1ea
6 changed files with 79 additions and 0 deletions

17
api/package.json Normal file
View File

@@ -0,0 +1,17 @@
{
"name": "api",
"version": "1.0.50",
"scripts": {
"dev": "bun --watch src/index.ts",
"build": "bun build src/index.ts --target bun --outdir ./dist",
"start": "NODE_ENV=production bun dist/index.js",
"test": "bun test"
},
"dependencies": {
"elysia": "latest"
},
"devDependencies": {
"bun-types": "latest"
},
"module": "src/index.js"
}