更新PM2配置并添加相关脚本
This commit is contained in:
@@ -13,7 +13,12 @@
|
||||
"init-test-data": "node scripts/init-test-data.js",
|
||||
"test-api": "node scripts/test-api-endpoints.js",
|
||||
"test-db": "node scripts/test-database-connection.js",
|
||||
"start-scripts": "chmod +x *.sh"
|
||||
"start-scripts": "chmod +x *.sh",
|
||||
"pm2:start": "pm2 start ecosystem.config.js",
|
||||
"pm2:stop": "pm2 stop ecosystem.config.js",
|
||||
"pm2:restart": "pm2 restart ecosystem.config.js",
|
||||
"pm2:status": "pm2 status",
|
||||
"pm2:logs": "pm2 logs"
|
||||
},
|
||||
"keywords": [
|
||||
"mini-program",
|
||||
@@ -45,7 +50,8 @@
|
||||
"swagger-jsdoc": "^6.2.8",
|
||||
"swagger-ui-express": "^5.0.1",
|
||||
"winston": "^3.11.0",
|
||||
"xss-clean": "^0.1.4"
|
||||
"xss-clean": "^0.1.4",
|
||||
"pm2": "^5.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.56.0",
|
||||
|
||||
Reference in New Issue
Block a user