stock-bot/apps/stock/orchestrator/package.json

55 lines
1.9 KiB
JSON

{
"name": "@stock-bot/orchestrator",
"version": "0.1.0",
"description": "Trading system orchestrator - coordinates between Rust core, data feeds, and analytics",
"type": "module",
"main": "dist/index.js",
"scripts": {
"dev": "bun --watch src/index.ts",
"build": "bun build src/index.ts src/backtest/native-worker.ts src/paper/paper-host.ts --outdir dist --entry-naming '[name].[ext]' --target node --external @stock-bot/engine --external @tensorflow/tfjs-node --external chromium-bidi --external electron --external playwright --external playwright-core",
"start": "bun dist/index.js",
"test": "bun test",
"test:indicators": "bun test tests/indicators.test.ts",
"example:indicators": "bun run examples/indicator-usage.ts",
"test:engine": "bun run examples/test-engine-import.ts",
"build:rust": "cd ../engine && cargo build --release && napi build --platform --release"
},
"dependencies": {
"@stock-bot/calculations": "workspace:*",
"decimal.js-light": "2.5.1",
"@stock-bot/engine": "*",
"@stock-bot/cache": "*",
"@stock-bot/config": "*",
"@stock-bot/di": "*",
"@stock-bot/logger": "*",
"@stock-bot/questdb": "*",
"@stock-bot/queue": "*",
"@stock-bot/shutdown": "*",
"@stock-bot/stock-config": "*",
"hono": "^4.0.0",
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2",
"zod": "^3.22.0",
"uuid": "^9.0.0",
"axios": "^1.6.0",
"@stock-bot/services": "workspace:*",
"@stock-bot/mongodb": "workspace:*",
"@stock-bot/postgres": "workspace:*",
"@stock-bot/invariants": "workspace:*",
"@stock-bot/types": "workspace:*",
"@stock-bot/handlers": "workspace:*"
},
"peerDependencies": {
"@tensorflow/tfjs-node": "^4.0.0"
},
"peerDependenciesMeta": {
"@tensorflow/tfjs-node": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^20.0.0",
"typescript": "^5.0.0",
"@tensorflow/tfjs-node": "^4.0.0"
}
}