stock-bot/package.json

132 lines
5.3 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",
"dev:research": "turbo run dev --filter=@stock-bot/web-api --filter=@stock-bot/orchestrator --filter=@stock-bot/web-app",
"build": "./scripts/build-all.sh",
"build:all:clean": "./scripts/build-all.sh --clean",
"build:all:verbose": "./scripts/build-all.sh --verbose",
"build:libs": "./scripts/build-libs.sh",
"typecheck": "tsc --project tsconfig.check.json --noEmit",
"check": "bun run scripts/check.ts",
"test:tooling": "bun test scripts/test/",
"test:utils": "bun test libs/utils/test/ libs/core/handlers/test/base-handler-http.test.ts",
"test:calculations": "bun test libs/calculations/test/",
"test:contracts": "tsc --project tsconfig.contracts.json --noEmit",
"test": "turbo run test --filter=!@stock-bot/stock-app",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"coverage": "bun run tools/coverage-cli/src/index.ts --reporters html markdown",
"coverage:html": "bun run tools/coverage-cli/src/index.ts --reporters html",
"coverage:ci": "bun run tools/coverage-cli/src/index.ts --reporters markdown json --fail-under",
"test:unit": "bun test test/unit",
"test:integration": "bun test test/integration/",
"test:native": "cargo test -p engine --lib --offline",
"test:postgres": "bun run scripts/test-postgres.ts",
"test:analytics-api": "uv run --no-project --with fastapi==0.104.1 --with httpx==0.25.2 --with pydantic==2.5.0 python -m unittest discover -s apps/stock/analytics/test",
"audit:secrets": "bun run scripts/audit-secrets.ts",
"test:e2e": "bun run scripts/test-e2e.ts",
"test:e2e:install": "playwright install chromium",
"test:libs": "turbo run test --filter='./libs/**'",
"test:apps": "turbo run test --filter=./apps/*/*",
"lint": "eslint apps/stock libs tools --ext .ts,.tsx",
"lint:fix": "eslint apps/stock libs tools --ext .ts,.tsx --fix",
"lint:check": "eslint apps/stock libs tools --ext .ts,.tsx --max-warnings 0",
"lint:apps": "eslint apps --ext .ts,.tsx",
"lint:libs": "eslint libs --ext .ts,.tsx",
"format": "./scripts/format.sh",
"format:check": "prettier --check 'apps/**/*.{ts,json}' 'libs/**/*.{ts,json}' '*.json'",
"format:ts": "prettier --write 'apps/**/*.ts' 'libs/**/*.ts'",
"format:json": "prettier --write 'apps/**/*.json' 'libs/**/*.json' '*.json'",
"start": "turbo run start",
"clean": "turbo run clean",
"clean:cache": "./scripts/clean.sh --cache",
"clean:dist": "./scripts/clean.sh --dist",
"clean:modules": "./scripts/clean.sh --modules",
"clean:all": "./scripts/clean.sh --all",
"clean:all:force": "./scripts/clean.sh --all --force",
"clean:fresh": "./scripts/clean.sh --fresh",
"clean:fresh:force": "./scripts/clean.sh --fresh --force",
"backtest": "turbo run backtest",
"benchmark:dataset": "bun run scripts/benchmark-dataset.ts",
"docker:start": "./scripts/docker.sh start",
"docker:stop": "./scripts/docker.sh stop",
"docker:restart": "./scripts/docker.sh restart",
"docker:status": "./scripts/docker.sh status",
"docker:logs": "./scripts/docker.sh logs",
"docker:reset": "./scripts/docker.sh reset",
"docker:admin": "./scripts/docker.sh admin",
"docker:monitoring": "./scripts/docker.sh monitoring",
"infra:up": "./scripts/docker.sh start",
"infra:down": "./scripts/docker.sh stop",
"infra:reset": "./scripts/docker.sh reset",
"dev:full": "npm run infra:up && npm run docker:admin && turbo run dev",
"dev:clean": "npm run infra:reset && npm run dev:full"
},
"workspaces": [
"libs/*",
"libs/core/*",
"libs/data/*",
"libs/services/*",
"apps/stock",
"apps/stock/config",
"apps/stock/data-ingestion",
"apps/stock/data-pipeline",
"apps/stock/web-api",
"apps/stock/web-app",
"apps/stock/engine",
"apps/stock/orchestrator",
"tools/*"
],
"devDependencies": {
"@eslint/js": "^9.28.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
"@modelcontextprotocol/server-postgres": "^0.6.2",
"@testcontainers/mongodb": "^10.7.2",
"@testcontainers/postgresql": "^10.7.2",
"@types/bun": "^1.2.17",
"@types/pako": "^2.0.4",
"@types/supertest": "^6.0.2",
"@types/yup": "^0.32.0",
"@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.34.0",
"bun-types": "^1.2.15",
"eslint": "^9.28.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^7.2.1",
"knip": "^5.61.2",
"mongodb": "^6.17.0",
"mongodb-mcp-server": "^0.1.1",
"mongodb-memory-server": "^9.1.6",
"pg-mem": "^2.8.1",
"playwright": "1.53.2",
"prettier": "^3.5.3",
"supertest": "^6.3.4",
"ts-unused-exports": "^11.0.1",
"tsx": "^4.20.3",
"turbo": "^2.5.4",
"typescript": "^5.8.3",
"yup": "^1.6.1"
},
"packageManager": "bun@1.2.17",
"engines": {
"node": ">=18.0.0",
"bun": ">=1.2.17"
},
"dependencies": {
"@types/pg": "^8.15.4",
"awilix": "^12.0.5",
"bullmq": "^5.53.2"
},
"trustedDependencies": [
"@tailwindcss/oxide",
"esbuild",
"mongodb",
"mongodb-memory-server"
]
}