🐞 fix: 修复 start 脚本无法正常启动

This commit is contained in:
imsyy
2024-09-23 16:04:54 +08:00
parent c4772962f4
commit c713d34ba1

View File

@@ -1,6 +1,6 @@
{
"name": "dailyhot-api",
"version": "2.0.4",
"version": "2.0.5",
"description": "An Api on Today's Hot list",
"keywords": [
"API",
@@ -32,7 +32,7 @@
"dev": "cross-env NODE_ENV=development tsx watch --no-cache src/index.ts",
"dev:cache": "cross-env NODE_ENV=development tsx watch src/index.ts",
"build": "tsc --project tsconfig.json",
"start": "tsx src/index.ts"
"start": "cross-env NODE_ENV=development tsx dist/index.js"
},
"type": "module",
"dependencies": {