121 lines
4.9 KiB
JSON
121 lines
4.9 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",
|
|
"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",
|
|
"db:migrate": "bun run scripts/db-migrate.ts",
|
|
"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 --dev",
|
|
"docker:stop": "./scripts/docker.sh stop --dev",
|
|
"docker:restart": "./scripts/docker.sh restart --dev",
|
|
"docker:status": "./scripts/docker.sh status --dev",
|
|
"docker:logs": "./scripts/docker.sh logs --dev",
|
|
"docker:reset": "./scripts/docker.sh reset --dev",
|
|
"docker:qa:start": "./scripts/docker.sh start --qa",
|
|
"docker:qa:stop": "./scripts/docker.sh stop --qa",
|
|
"docker:qa:status": "./scripts/docker.sh status --qa",
|
|
"docker:qa:logs": "./scripts/docker.sh logs --qa",
|
|
"docker:admin": "./scripts/docker.sh admin",
|
|
"docker:monitoring": "./scripts/docker.sh monitoring",
|
|
"infra:up": "./scripts/docker.sh start --dev",
|
|
"infra:down": "./scripts/docker.sh stop --dev",
|
|
"infra:reset": "./scripts/docker.sh reset --dev",
|
|
"infra:qa:up": "./scripts/docker.sh start --qa",
|
|
"infra:qa:status": "./scripts/docker.sh status --qa",
|
|
"dev:full": "bun run infra:up && turbo run dev",
|
|
"dev:clean": "bun run infra:reset && bun run dev:full"
|
|
},
|
|
"workspaces": [
|
|
"libs/*",
|
|
"libs/core/*",
|
|
"libs/data/*",
|
|
"libs/services/*",
|
|
"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.39.5",
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
|
"@types/bun": "^1.4.5",
|
|
"@types/pako": "^2.0.4",
|
|
"@typescript-eslint/eslint-plugin": "^8.74.0",
|
|
"@typescript-eslint/parser": "^8.74.0",
|
|
"bun-types": "^1.4.5",
|
|
"eslint": "^9.39.5",
|
|
"mongodb": "^6.22.0",
|
|
"pg-mem": "^2.9.1",
|
|
"playwright": "1.53.2",
|
|
"prettier": "^3.10.1",
|
|
"turbo": "^2.11.13",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"packageManager": "bun@1.2.17",
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"bun": ">=1.2.17"
|
|
},
|
|
"dependencies": {
|
|
"@types/pg": "^8.23.1",
|
|
"awilix": "^12.1.1",
|
|
"bullmq": "^5.81.6"
|
|
},
|
|
"trustedDependencies": [
|
|
"@tailwindcss/oxide",
|
|
"esbuild",
|
|
"mongodb"
|
|
]
|
|
}
|