UNPKG

@master-chief/alpaca

Version:

A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.

112 lines (111 loc) 3.05 kB
{ "name": "@master-chief/alpaca", "version": "6.3.20", "description": "A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.", "author": "117", "contributors": [ "lbstr", "AqilCont", "KalebMills", "anonrose", "husayt", "samwilkins333", "anback", "hkang1", "jerrami", "AlexMayol", "tclare" ], "license": "ISC", "keywords": [ "alpaca", "alpaca-trade-api-js", "alpaca trade api", "trading", "exchange", "bot", "alpaca markets", "markets", "stocks", "stock" ], "type": "module", "types": "./@types/index.d.ts", "typings": "./@types/index.d.ts", "unpkg": "./dist/alpaca.js", "jsdelivr": "./dist/alpaca.js", "browser": "./dist/alpaca.browser.min.js", "main": "./dist/mjs/index.js", "module": "./dist/mjs/index.js", "exports": { "import": "./dist/mjs/index.js", "require": "./dist/cjs/index.cjs", "default": "./dist/alpaca.browser.min.js" }, "engines": { "node": ">=14" }, "files": [ "src/", "dist/", "@types/" ], "repository": { "type": "git", "url": "https://github.com/117/alpaca" }, "scripts": { "build": "npm run clean && npm i && npm run build:mjs && npm run build:cjs && npm run build:esm && npm run build:browser && npm run build:esm_bundle", "build:mjs": "tsc --outDir dist/mjs --allowSyntheticDefaultImports -d --declarationDir @types --module esnext --target esnext", "build:cjs": "tsc --outDir dist/cjs --esModuleInterop --moduleResolution node --module CommonJS --target ES2015 -d false && map dist/cjs js cjs", "build:esm": "rollup -c conf/rollup/dist/esm.js", "build:esm_bundle": "rollup -c conf/rollup/dist/esm_bundle.js", "build:browser": "rollup -c conf/rollup/dist/browser.js", "clean": "rimraf dist @types", "test": "npm run test:default", "test:default": "jest", "test:watch": "jest --watchAll", "release": "standard-version" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "roots": [ "<rootDir>/test" ], "testMatch": [ "**/*.test.ts" ] }, "dependencies": { "@master-chief/map": "^0.0.6", "abort-controller": "^3.0.0", "bottleneck": "^2.19.5", "bufferutil": "^4.0.3", "eventemitter3": "^4.0.7", "is-blob": "^2.1.0", "isomorphic-unfetch": "^3.1.0", "isomorphic-ws": "^4.0.1", "qs": "^6.9.6", "utf-8-validate": "^5.0.4", "ws": "^7.5.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^17.1.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^11.2.0", "@rollup/plugin-typescript": "^8.2.0", "@types/jest": "^27.0.2", "@types/node-fetch": "^2.5.8", "@types/qs": "^6.9.5", "@types/ws": "^7.4.0", "jest": "^27.2.4", "rimraf": "^3.0.2", "rollup": "^2.39.0", "rollup-plugin-terser": "^7.0.2", "standard-version": "^9.1.1", "ts-jest": "^27.0.5", "tslib": "^2.0.3", "typescript": "^4.4.3" } }