- 更新错误消息格式,使用驼峰命名法 - 添加服务器错误消息 - 用 logger 替代 console.log 记录日志 - 更新 MongoDB 连接日志 - 优化用户控制器中的错误处理 - 移除 SearchQuery 类中的无效代码 - 更新 package.json 中的脚本 - 移除未使用的 StringUtil 工具类 - 优化 hashUtils 中的密码加密和比较函数
33 lines
756 B
JSON
33 lines
756 B
JSON
{
|
|
"name": "express",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "node ./bin/www",
|
|
"nodemon": "nodemon ./bin/www",
|
|
"push": "git push -u github main && git push -u origin main"
|
|
},
|
|
"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"
|
|
}
|
|
}
|