Compare commits

..

4 Commits

Author SHA1 Message Date
bmy
7cc447b339 222
Some checks reported errors
continuous-integration/drone/push Build was killed
2025-03-15 00:01:46 +08:00
bmy
803f409401 log
Some checks reported errors
continuous-integration/drone/push Build was killed
2025-03-14 23:47:05 +08:00
bmy
3a89f3262a 22
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-14 23:45:41 +08:00
bmy
d423f6786b update .gitignore 2025-03-14 23:44:26 +08:00
4 changed files with 1399 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
.DS_Store
node_modules/
node_modules
/dist

View File

@@ -12,4 +12,4 @@ steps:
commands:
- echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
- git clone https://git.buyusdt.xyz/bmy/xiezheng.git
- cd /drone/src/xiezheng/ && npm install && npm run dev
- cd /drone/src/xiezheng/ && npm install && npm run dev && npm run log

1402
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,11 @@
"main": "index.js",
"type": "module",
"scripts": {
"dev": "node app.js"
"dev": "./node_modules/.bin/pm2 start app.js --stop-exit-codes 0",
"stop": "./node_modules/.bin/pm2 stop app",
"log": "./node_modules/.bin/pm2 log",
"list": "./node_modules/.bin/pm2 list",
"monit": "pm2 monit"
},
"keywords": [],
"author": "",
@@ -15,6 +19,7 @@
"cheerio": "^1.0.0-rc.12",
"express": "^4.21.1",
"https-proxy-agent": "^7.0.5",
"ip": "^2.0.1"
"ip": "^2.0.1",
"pm2": "^5.4.3"
}
}