expressServer/package.json
LingandRX 4edd3c2a26 refactor: 将项目从 CommonJS 迁移到 ES6 模块
- 更新所有文件的导入和导出语法,使用 ES6 模块格式
- 修改 package.json,添加 "type": "module" 配置
- 调整部分代码结构以适应 ES6 模块
2025-01-04 23:54:03 +08:00

34 lines
776 B
JSON

{
"name": "express",
"version": "0.0.0",
"private": true,
"type": "module",
"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"
}
}