This commit is contained in:
2025-10-21 13:31:42 +08:00
parent f3b7e11d37
commit 6538ffce90
2 changed files with 2 additions and 3 deletions

View File

@@ -1,10 +1,9 @@
{
"name": "server",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js"
"start": "node dist/src/index.js"
},
"dependencies": {
"@hono/node-server": "^1.19.5",

View File

@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"module": "CommonJS",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,