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", "name": "server",
"type": "module",
"scripts": { "scripts": {
"dev": "tsx watch src/index.ts", "dev": "tsx watch src/index.ts",
"build": "tsc", "build": "tsc",
"start": "node dist/index.js" "start": "node dist/src/index.js"
}, },
"dependencies": { "dependencies": {
"@hono/node-server": "^1.19.5", "@hono/node-server": "^1.19.5",

View File

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