stock-bot/package.json
2025-06-09 20:39:36 -04:00

73 lines
2.7 KiB
JSON

{
"name": "stock-bot",
"private": true,
"version": "1.0.0",
"description": "Advanced trading bot with microservice architecture",
"type": "module",
"scripts": {
"dev": "turbo run dev",
"build": "turbo run build",
"build:libs": "powershell ./scripts/build-libs.ps1",
"test": "turbo run test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"test:unit": "bun test test/unit",
"test:integration": "bun test test/integration",
"test:e2e": "bun test test/e2e",
"test:libs": "turbo run test --filter='./libs/*'",
"test:apps": "turbo run test --filter=./apps/*/*",
"lint": "turbo run lint",
"start": "turbo run start",
"clean": "turbo run clean",
"clean:cache": "powershell ./scripts/clean.ps1 -cache",
"clean:dist": "powershell ./scripts/clean.ps1 -dist",
"clean:modules": "powershell ./scripts/clean.ps1 -modules",
"clean:all": "powershell ./scripts/clean.ps1 -all",
"clean:all:force": "powershell ./scripts/clean.ps1 -all -force",
"clean:fresh": "powershell ./scripts/clean.ps1 -fresh",
"clean:fresh:force": "powershell ./scripts/clean.ps1 -fresh -force",
"backtest": "turbo run backtest",
"docker:start": "powershell ./scripts/docker.ps1 start",
"docker:stop": "powershell ./scripts/docker.ps1 stop",
"docker:restart": "powershell ./scripts/docker.ps1 restart",
"docker:status": "powershell ./scripts/docker.ps1 status",
"docker:logs": "powershell ./scripts/docker.ps1 logs",
"docker:reset": "powershell ./scripts/docker.ps1 reset",
"docker:admin": "powershell ./scripts/docker.ps1 admin",
"docker:monitoring": "powershell ./scripts/docker.ps1 monitoring",
"infra:up": "docker-compose up -d dragonfly postgres questdb mongodb",
"infra:down": "docker-compose down",
"infra:reset": "docker-compose down -v && docker-compose up -d dragonfly postgres questdb mongodb",
"dev:full": "npm run infra:up && npm run docker:admin && turbo run dev",
"dev:clean": "npm run infra:reset && npm run dev:full",
"proxy": "bun run ./apps/data-service/src/proxy-demo.ts"
},
"workspaces": [
"libs/*",
"apps/*"
],
"devDependencies": {
"@testcontainers/mongodb": "^10.7.2",
"@testcontainers/postgresql": "^10.7.2",
"@types/bun": "latest",
"@types/node": "^22.15.30",
"@types/supertest": "^6.0.2",
"@types/yup": "^0.32.0",
"bun-types": "^1.2.15",
"mongodb-memory-server": "^9.1.6",
"pg-mem": "^2.8.1",
"supertest": "^6.3.4",
"turbo": "^2.5.4",
"typescript": "^5.8.3",
"yup": "^1.6.1"
},
"packageManager": "bun@1.1.12",
"engines": {
"node": ">=18.0.0",
"bun": ">=1.1.0"
},
"dependencies": {
"bullmq": "^5.53.2"
},
"trustedDependencies": ["mongodb"]
}