expressServer/package.json
LingandRX 8741389ef5 refactor: 优化项目结构和代码
- 更新 .gitignore 文件,排除 Idea 项目配置
- 移除 vuepress 缓存目录
- 优化 app.js 中的错误处理和状态码导入- 调整 CORS 配置,移除未使用的 allowdHeaders
- 更新 hashUtils.js 中的密码处理函数
- 优化 index.js 中的路由定义
- 更新 mongodbConfig.js 中的数据库连接逻辑
- 升级 express到 5.0.0- 更新 mongoose 到 8.7.1
2025-01-01 12:21:43 +08:00

32 lines
690 B
JSON

{
"name": "express",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www",
"nodemon": "nodemon ./bin/www"
},
"dependencies": {
"bcrypt": "^5.1.1",
"connect-redis": "^8.0.1",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"debug": "~2.6.9",
"dotenv": "^16.4.7",
"express": "5.0.0",
"express-async-handler": "^1.2.0",
"express-session": "^1.18.1",
"express-validator": "^7.2.0",
"http-errors": "~1.6.3",
"ioredis": "^5.4.2",
"jade": "^0.29.0",
"mongoose": "8.7.1",
"morgan": "~1.9.1",
"nodemon": "^3.1.0",
"redis": "^4.7.0"
},
"devDependencies": {
"prettier": "^3.4.2"
}
}