fixing package.json

This commit is contained in:
Bojan Kucera 2025-06-07 13:42:05 -04:00
parent 3b8135d04b
commit 15dd03c0ec
3 changed files with 15 additions and 1199 deletions

1183
bun.lock

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,8 @@
"name": "@stock-bot/http",
"version": "1.0.0",
"description": "HTTP client library with proxy support, rate limiting, and timeout for Stock Bot platform",
"main": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"build": "tsc",
@ -11,7 +12,8 @@
"test:coverage": "bun test --coverage",
"lint": "eslint src/**/*.ts",
"type-check": "tsc --noEmit",
"dev": "tsc --watch"
"dev": "tsc --watch",
"clean": "rimraf dist"
},
"dependencies": {
"@stock-bot/logger": "*",
@ -29,19 +31,15 @@
"@typescript-eslint/parser": "^6.19.0",
"bun-types": "^1.2.15"
},
"keywords": [
"http",
"client",
"fetch",
"proxy",
"rate-limiting",
"timeout",
"stock-bot"
],
"exports": {
".": {
"import": "./src/index.ts",
"require": "./dist/index.js"
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
}
}
},
"files": [
"dist",
"README.md"
]
}

View file

@ -18,6 +18,7 @@
"lint": "turbo run lint",
"clean": "turbo run clean",
"start": "turbo run start",
"clean:dist": "rimraf **/dist",
"backtest": "turbo run backtest",
"docker:start": "powershell ./scripts/docker.ps1 start",
"docker:stop": "powershell ./scripts/docker.ps1 stop",
@ -35,7 +36,7 @@
},
"workspaces": [
"libs/*",
"apps/*/*"
"apps/*"
],
"devDependencies": {
"@types/node": "^20.12.12",