prettify package

This commit is contained in:
lowkeynicc
2024-08-09 18:39:25 -04:00
parent e15f65657c
commit 420eeca2c1

View File

@@ -1,75 +1,75 @@
{ {
"name": "@drift-labs/dlob-server", "name": "@drift-labs/dlob-server",
"version": "0.1.0", "version": "0.1.0",
"author": "wphan", "author": "wphan",
"main": "lib/index.js", "main": "lib/index.js",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@coral-xyz/anchor": "^0.29.0", "@coral-xyz/anchor": "^0.29.0",
"@drift/common": "file:./drift-common/common-ts", "@drift/common": "file:./drift-common/common-ts",
"@drift-labs/sdk": "file:./drift-common/protocol/sdk", "@drift-labs/sdk": "file:./drift-common/protocol/sdk",
"@opentelemetry/api": "^1.1.0", "@opentelemetry/api": "^1.1.0",
"@opentelemetry/auto-instrumentations-node": "^0.31.1", "@opentelemetry/auto-instrumentations-node": "^0.31.1",
"@opentelemetry/exporter-prometheus": "^0.31.0", "@opentelemetry/exporter-prometheus": "^0.31.0",
"@opentelemetry/sdk-node": "^0.31.0", "@opentelemetry/sdk-node": "^0.31.0",
"@project-serum/anchor": "^0.19.1-beta.1", "@project-serum/anchor": "^0.19.1-beta.1",
"@project-serum/serum": "^0.13.65", "@project-serum/serum": "^0.13.65",
"@solana/web3.js": "^1.73.3", "@solana/web3.js": "^1.73.3",
"@triton-one/yellowstone-grpc": "^0.3.0", "@triton-one/yellowstone-grpc": "^0.3.0",
"@types/redis": "^4.0.11", "@types/redis": "^4.0.11",
"@types/ws": "^8.5.8", "@types/ws": "^8.5.8",
"async-mutex": "^0.4.0", "async-mutex": "^0.4.0",
"axios": "^1.6.2", "axios": "^1.6.2",
"commander": "^9.4.0", "commander": "^9.4.0",
"compression": "^1.7.4", "compression": "^1.7.4",
"cors": "^2.8.5", "cors": "^2.8.5",
"dotenv": "^10.0.0", "dotenv": "^10.0.0",
"express": "^4.18.2", "express": "^4.18.2",
"ioredis": "^5.3.2", "ioredis": "^5.3.2",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"prom-client": "^15.0.0", "prom-client": "^15.0.0",
"redis": "^4.6.10", "redis": "^4.6.10",
"response-time": "^2.3.2", "response-time": "^2.3.2",
"rxjs": "^7.8.1", "rxjs": "^7.8.1",
"socket.io-redis": "^6.1.1", "socket.io-redis": "^6.1.1",
"typescript": "4.5.4", "typescript": "4.5.4",
"undici": "^6.16.1", "undici": "^6.16.1",
"winston": "^3.8.1", "winston": "^3.8.1",
"ws": "^8.14.2" "ws": "^8.14.2"
}, },
"devDependencies": { "devDependencies": {
"@types/k6": "^0.45.0", "@types/k6": "^0.45.0",
"@typescript-eslint/eslint-plugin": "^4.28.0", "@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0", "@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.29.0", "eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0", "eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.4", "husky": "^7.0.4",
"k6": "^0.0.0", "k6": "^0.0.0",
"prettier": "^2.4.1", "prettier": "^2.4.1",
"ts-node": "^10.9.1" "ts-node": "^10.9.1"
}, },
"scripts": { "scripts": {
"prepare": "husky install", "prepare": "husky install",
"build": "yarn clean && tsc", "build": "yarn clean && tsc",
"clean": "rm -rf lib", "clean": "rm -rf lib",
"start": "node lib/index.js", "start": "node lib/index.js",
"dev": "ts-node src/index.ts", "dev": "ts-node src/index.ts",
"server-lite": "ts-node src/serverLite.ts", "server-lite": "ts-node src/serverLite.ts",
"dlob-publish": "ts-node src/publishers/dlobPublisher.ts", "dlob-publish": "ts-node src/publishers/dlobPublisher.ts",
"trades-publish": "ts-node src/publishers/tradesPublisher.ts", "trades-publish": "ts-node src/publishers/tradesPublisher.ts",
"fees-publish": "ts-node src/publishers/priorityFeesPublisher.ts", "fees-publish": "ts-node src/publishers/priorityFeesPublisher.ts",
"pnl-publish": "ts-node src/scripts/publishUnsettledPnlUsers.ts", "pnl-publish": "ts-node src/scripts/publishUnsettledPnlUsers.ts",
"ws-manager": "ts-node src/wsConnectionManager.ts", "ws-manager": "ts-node src/wsConnectionManager.ts",
"ws-manager:inspect": "yarn build && node --inspect ./lib/wsConnectionManager.js", "ws-manager:inspect": "yarn build && node --inspect ./lib/wsConnectionManager.js",
"dev:inspect": "yarn build && node --inspect ./lib/index.js", "dev:inspect": "yarn build && node --inspect ./lib/index.js",
"dev:debug": "yarn build && node --inspect-brk --inspect=2230 ./lib/index.js", "dev:debug": "yarn build && node --inspect-brk --inspect=2230 ./lib/index.js",
"example": "ts-node example/client.ts", "example": "ts-node example/client.ts",
"exampleWithSlot": "ts-node example/clientWithSlot.ts", "exampleWithSlot": "ts-node example/clientWithSlot.ts",
"prettify": "prettier --check './src/**/*.ts'", "prettify": "prettier --check './src/**/*.ts'",
"prettify:fix": "prettier --write './src/**/*.ts'", "prettify:fix": "prettier --write './src/**/*.ts'",
"lint": "eslint . --ext ts --quiet", "lint": "eslint . --ext ts --quiet",
"lint:fix": "eslint . --ext ts --fix", "lint:fix": "eslint . --ext ts --fix",
"playground": "ts-node src/playground.ts" "playground": "ts-node src/playground.ts"
} }
} }