You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 lines
1.2 KiB

{
"name": "wechat-miniprogram-server",
"version": "1.0.0",
"description": "微信小程序服务器示例",
"main": "server-mysql.js",
"scripts": {
"start": "node start-server.js",
"dev": "nodemon server-mysql.js",
"logs-pm2": "pm2 logs wechat-app",
"view-logs": "powershell \"Get-Content logs/server-*.log -Tail 100\"",
"view-output-log": "powershell \"Get-Content logs/output.log -Tail 100\"",
"monitor-logs": "powershell \"Get-Content logs/server-*.log -Wait -Tail 50\"",
"restart-pm2": "pm2 restart ecosystem.config.js",
"start-pm2": "pm2 start ecosystem.config.js",
"stop-pm2": "pm2 stop ecosystem.config.js",
"view-pm2-status": "pm2 status",
"install-pm2-startup": "npm install -g pm2-windows-startup && pm2-startup install",
"save-pm2-config": "pm2 save",
"setup-autostart": "npm run start-pm2 && npm run save-pm2-config"
},
"dependencies": {
"ali-oss": "^6.23.0",
"axios": "^1.13.2",
"body-parser": "^1.20.2",
"dotenv": "^17.2.3",
"express": "^4.21.2",
"form-data": "^4.0.4",
"multer": "^2.0.2",
"mysql2": "^3.6.5",
"sequelize": "^6.35.2",
"socket.io": "^4.8.1"
},
"devDependencies": {
"nodemon": "^3.0.1"
}
}