Files
Siro/backend/pricing-engine/package.json
T

40 lines
1.4 KiB
JSON

{
"name": "siro-pricing-engine",
"version": "1.0.0",
"description": "Statistical pricing analysis engine for Siro - competitor price intelligence",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"analyze": "npm run build && node dist/index.js --mode=full",
"analyze:taxif": "npm run build && node dist/index.js --mode=full --competitor=com.taxif.passenger",
"analyze:careem": "npm run build && node dist/index.js --mode=full --competitor=com.careem.ae",
"analyze:uber": "npm run build && node dist/index.js --mode=full --competitor=com.ubercab",
"analyze:surge": "npm run build && node dist/index.js --mode=surge",
"analyze:report": "npm run build && node dist/index.js --mode=report",
"dev": "tsx src/index.ts",
"cron:hourly": "node dist/index.js --mode=surge --hours=3",
"cron:daily": "node dist/index.js --mode=full --hours=72",
"cron:weekly": "node dist/index.js --mode=report --hours=168"
},
"cron": {
"hourly": "0 * * * *",
"daily": "0 6 * * *",
"weekly": "0 8 * * 1"
},
"dependencies": {
"mysql2": "^3.11.0",
"redis": "^4.7.0",
"dotenv": "^16.4.5",
"mathjs": "^13.1.0",
"simple-statistics": "^7.8.5",
"node-cron": "^3.0.3"
},
"devDependencies": {
"typescript": "^5.6.0",
"@types/node": "^22.5.0",
"@types/node-cron": "^3.0.11",
"tsx": "^4.19.0"
}
}