feat(package): 添加 start 脚本命令

- 在 package.json 中新增 "start" 脚本- 使用 node index.js 启动应用- 便于生产环境直接运行服务
This commit is contained in:
2025-10-18 13:05:10 +08:00
parent 10a7bcbd2c
commit 3f67dc2b2c

View File

@@ -3,6 +3,7 @@
"version": "1.0.0",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"build": "pkg index.js --targets=node18-win-x64,node18-linux-x64 --output=dist/"
},