{ "name": "@drift-labs/dlob-server", "version": "0.1.0", "author": "wphan", "main": "lib/index.js", "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-athena": "^3.830.0", "@aws-sdk/client-kinesis": "^3.830.0", "@aws-sdk/util-retry": "^3.374.0", "@coral-xyz/anchor": "^0.29.0", "@drift-labs/sdk": "file:./drift-common/protocol/sdk", "@drift/common": "file:./drift-common/common-ts", "@opentelemetry/api": "^1.1.0", "@opentelemetry/auto-instrumentations-node": "^0.31.1", "@opentelemetry/exporter-prometheus": "^0.31.0", "@opentelemetry/sdk-node": "^0.31.0", "@project-serum/anchor": "^0.19.1-beta.1", "@project-serum/serum": "^0.13.65", "@pythnetwork/hermes-client": "^1.3.1", "@solana/web3.js": "1.98.0", "@triton-one/yellowstone-grpc": "^0.3.0", "@types/redis": "^4.0.11", "@types/ws": "^8.5.8", "async-mutex": "^0.4.0", "axios": "^1.6.2", "bottleneck": "^2.19.5", "commander": "^9.4.0", "compression": "^1.7.4", "cors": "^2.8.5", "dotenv": "^10.0.0", "express": "^4.18.2", "ioredis": "^5.4.1", "morgan": "^1.10.0", "pg": "^8.13.1", "redis": "^4.6.10", "response-time": "^2.3.2", "rxjs": "^7.8.1", "socket.io-redis": "^6.1.1", "typescript": "5.4.5", "undici": "^6.16.1", "winston": "^3.8.1", "ws": "^8.14.2" }, "devDependencies": { "@jest/globals": "^29.3.1", "@types/jest": "^29.4.0", "@types/k6": "^0.45.0", "@typescript-eslint/eslint-plugin": "6.21.0", "@typescript-eslint/parser": "6.21.0", "esbuild": "^0.24.0", "husky": "^7.0.4", "eslint": "8.57.0", "eslint-config-prettier": "8.3.0", "eslint-plugin-prettier": "3.4.0", "jest": "^29.7.0", "k6": "^0.0.0", "prettier": "^2.4.1", "tiny-glob": "^0.2.9", "ts-jest": "^29.1.0", "ts-node": "^10.9.1" }, "resolutions": { "@solana/web3.js": "1.98.0" }, "scripts": { "prepare": "husky install", "build": "node esbuild.config.js", "clean": "rm -rf lib", "start": "node lib/index.js", "dev": "ts-node src/index.ts", "server-lite": "ts-node src/serverLite.ts", "dlob-publish": "ts-node src/publishers/dlobPublisher.ts", "dlob-storage:init": "ts-node src/scripts/initPersistentStore.ts", "trades-publish": "ts-node src/publishers/tradesPublisher.ts", "fees-publish": "ts-node src/publishers/priorityFeesPublisher.ts", "pnl-publish": "ts-node src/scripts/publishUnsettledPnlUsers.ts", "ws-manager": "ts-node src/wsConnectionManager.ts", "ws-manager:inspect": "yarn build && node --inspect ./lib/wsConnectionManager.js", "dev:inspect": "yarn build && node --inspect ./lib/index.js", "dev:debug": "yarn build && node --inspect-brk --inspect=2230 ./lib/index.js", "example": "ts-node example/client.ts", "exampleWithSlot": "ts-node example/clientWithSlot.ts", "prettify": "prettier --check './src/**/*.ts'", "prettify:fix": "prettier --write './src/**/*.ts'", "lint": "eslint . --ext ts --quiet", "lint:fix": "eslint . --ext ts --fix", "playground": "ts-node src/playground.ts", "test": "jest src/utils/tests/auctionParams.test.ts", "test:watch": "jest src/utils/tests/auctionParams.test.ts --watch" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "moduleFileExtensions": [ "ts", "js" ], "transform": { "^.+\\.ts$": "ts-jest" }, "testMatch": [ "**/*.test.ts" ], "moduleNameMapper": { "^@drift-labs/sdk$": "/drift-common/protocol/sdk/lib/node/index.js", "^@drift/common$": "/drift-common/common-ts/lib/index.js" } } }