+ adding hono and @hono/node-server
+ reemplazar index por server.ts + implement a basic server.ts in server.ts
This commit is contained in:
@ -16,8 +16,8 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "node dist/index.js",
|
||||
"dev": "tsx watch src/index.ts",
|
||||
"start": "node dist/server.js",
|
||||
"dev": "tsx watch src/server.ts",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
@ -36,6 +36,8 @@
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hono/node-server": "^1.17.1",
|
||||
"hono": "^4.8.9",
|
||||
"mongoose": "^8.16.5",
|
||||
"pino": "^9.7.0"
|
||||
}
|
||||
|
Reference in New Issue
Block a user