UNPKG

@polygon.io/client-js

Version:

Isomorphic Javascript client for Polygon.io Stocks, Forex, and Crypto APIs

93 lines (92 loc) 2.28 kB
{ "name": "@polygon.io/client-js", "version": "8.0.0", "description": "Isomorphic Javascript client for Polygon.io Stocks, Forex, and Crypto APIs", "main": "dist/main.js", "types": "dist/main.d.ts", "type": "module", "exports": { "types": "./dist/main.d.ts", "import": "./dist/main.js" }, "scripts": { "test": "mocha", "test:watch": "mocha --watch", "format": "prettier --write '**/*.ts'", "generate": "sh ./scripts/generate.sh", "pull-spec": "node ./scripts/pull_spec.js", "generate-examples": "node ./scripts/generate-examples-with-tokens.js", "build": "rm -rf ./dist && npm run pull-spec && npm run generate && tsup src/main.ts --dts --format esm --minify", "generate-doc": "typedoc src/main.ts", "release": "release-it" }, "repository": { "type": "git", "url": "git+https://github.com/polygon-io/client-js.git" }, "keywords": [ "polygon.io", "stock api", "options api", "forex api", "crypto api" ], "contributors": [ { "name": "Polygon Support", "email": "support@polygon.io" } ], "license": "MIT", "bugs": { "url": "https://github.com/polygon-io/client-js/issues" }, "homepage": "https://github.com/polygon-io/client-js#readme", "dependencies": { "axios": "^1.8.4", "cross-fetch": "^3.1.4", "query-string": "^7.0.1", "websocket": "^1.0.34" }, "devDependencies": { "@openapitools/openapi-generator-cli": "^2.18.4", "@types/chai": "^4.2.22", "@types/mocha": "^9.0.0", "@types/node": "^16.11.11", "@types/sinon": "^10.0.6", "@types/websocket": "^1.0.4", "chai": "^4.3.4", "events": "^3.3.0", "husky": "^7.0.4", "lint-staged": "^12.1.2", "lodash": "^4.17.21", "mocha": "^9.1.3", "parse-path": "7.0.1", "prettier": "^2.5.1", "release-it": "^19.0.3", "sinon": "^12.0.1", "ts-node": "^10.9.1", "tsup": "^8.5.0", "typedoc": "^0.22.10", "typescript": "^4.5.2", "ws": "^8.13.0" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,json,md}": [ "prettier --write", "git add" ] }, "workspaces": [ "./dist/*", "./sandbox" ], "engines": { "node": ">=16" } }