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

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"
]
}