Files
vless-api/package.json
Kubbo 24f1f88a45 chore(project):重构项目入口文件结构
- 添加 index.js 作为新的入口文件
- 更新 package.json 中的 main 字段指向 index.js
- 修改 dev 脚本使用 index.js 启动应用
- 移除旧的 app.js 入口相关配置
- 添加 build 脚本用于打包应用
- 清理 package.json 中的冗余字段
2025-10-18 11:27:07 +08:00

23 lines
506 B
JSON

{
"name": "vless-api",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"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"
}
}