Files
svc-hcm-crawler/package.json

46 lines
1.4 KiB
JSON

{
"name": "svc-hcm-crawler",
"version": "1.0.0",
"description": "Hikvision Device Crawling Service for HCM Bridge",
"main": "dist/src/index.js",
"scripts": {
"start": "TZ='Asia/Dili' node dist/src/index.js",
"dev": "nodemon",
"build": "tsc",
"pm2:start": "pm2 start ecosystem.config.js",
"pm2:start:prod": "pm2 start ecosystem.config.js --env production",
"pm2:stop": "pm2 stop svc-hcm-crawler",
"pm2:restart": "pm2 restart svc-hcm-crawler",
"pm2:restart:prod": "pm2 restart ecosystem.config.js --env production",
"pm2:delete": "pm2 delete svc-hcm-crawler",
"pm2:logs": "pm2 logs svc-hcm-crawler"
},
"keywords": [
"hikvision",
"crawler",
"hcm"
],
"author": "STS",
"license": "ISC",
"dependencies": {
"@types/xml2js": "^0.4.14",
"axios": "^1.7.8",
"config": "^3.3.12",
"entity": "file:../entity",
"moment-timezone": "~0.5.46",
"mysql2": "^3.12.0",
"node-cron": "^4.1.0",
"reflect-metadata": "^0.2.2",
"tslog": "^4.9.3",
"typeorm": "^0.3.28",
"typescript": "^5.9.3",
"uuid": "^11.0.3",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/node-cron": "^3.0.11",
"nodemon": "^3.0.0",
"ts-node": "^10.9.0"
}
}