Files
vless-api/package.json
Kubbo 3f67dc2b2c feat(package): 添加 start 脚本命令
- 在 package.json 中新增 "start" 脚本- 使用 node index.js 启动应用- 便于生产环境直接运行服务
2025-10-18 13:05:10 +08:00

24 lines
537 B
JSON

{
"name": "vless-api",
"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/"
},
"author": "kubbo",
"license": "ISC",
"dependencies": {
"axios": "^1.7.9",
"dayjs": "^1.11.13",
"dotenv": "^16.4.7",
"jsonwebtoken": "^9.0.2",
"koa": "^2.15.4",
"koa-bodyparser": "^4.4.1",
"koa-jwt": "^4.0.4",
"koa-router": "^13.0.1",
"nodemon": "^3.0.2"
}
}