UNPKG

3.05 kBJSONView Raw
1{
2 "name": "@master-chief/alpaca",
3 "version": "6.3.20",
4 "description": "A TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams.",
5 "author": "117",
6 "contributors": [
7 "lbstr",
8 "AqilCont",
9 "KalebMills",
10 "anonrose",
11 "husayt",
12 "samwilkins333",
13 "anback",
14 "hkang1",
15 "jerrami",
16 "AlexMayol",
17 "tclare"
18 ],
19 "license": "ISC",
20 "keywords": [
21 "alpaca",
22 "alpaca-trade-api-js",
23 "alpaca trade api",
24 "trading",
25 "exchange",
26 "bot",
27 "alpaca markets",
28 "markets",
29 "stocks",
30 "stock"
31 ],
32 "type": "module",
33 "types": "./@types/index.d.ts",
34 "typings": "./@types/index.d.ts",
35 "unpkg": "./dist/alpaca.js",
36 "jsdelivr": "./dist/alpaca.js",
37 "browser": "./dist/alpaca.browser.min.js",
38 "main": "./dist/mjs/index.js",
39 "module": "./dist/mjs/index.js",
40 "exports": {
41 "import": "./dist/mjs/index.js",
42 "require": "./dist/cjs/index.cjs",
43 "default": "./dist/alpaca.browser.min.js"
44 },
45 "engines": {
46 "node": ">=14"
47 },
48 "files": [
49 "src/",
50 "dist/",
51 "@types/"
52 ],
53 "repository": {
54 "type": "git",
55 "url": "https://github.com/117/alpaca"
56 },
57 "scripts": {
58 "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",
59 "build:mjs": "tsc --outDir dist/mjs --allowSyntheticDefaultImports -d --declarationDir @types --module esnext --target esnext",
60 "build:cjs": "tsc --outDir dist/cjs --esModuleInterop --moduleResolution node --module CommonJS --target ES2015 -d false && map dist/cjs js cjs",
61 "build:esm": "rollup -c conf/rollup/dist/esm.js",
62 "build:esm_bundle": "rollup -c conf/rollup/dist/esm_bundle.js",
63 "build:browser": "rollup -c conf/rollup/dist/browser.js",
64 "clean": "rimraf dist @types",
65 "test": "npm run test:default",
66 "test:default": "jest",
67 "test:watch": "jest --watchAll",
68 "release": "standard-version"
69 },
70 "jest": {
71 "preset": "ts-jest",
72 "testEnvironment": "node",
73 "roots": [
74 "<rootDir>/test"
75 ],
76 "testMatch": [
77 "**/*.test.ts"
78 ]
79 },
80 "dependencies": {
81 "@master-chief/map": "^0.0.6",
82 "abort-controller": "^3.0.0",
83 "bottleneck": "^2.19.5",
84 "bufferutil": "^4.0.3",
85 "eventemitter3": "^4.0.7",
86 "is-blob": "^2.1.0",
87 "isomorphic-unfetch": "^3.1.0",
88 "isomorphic-ws": "^4.0.1",
89 "qs": "^6.9.6",
90 "utf-8-validate": "^5.0.4",
91 "ws": "^7.5.0"
92 },
93 "devDependencies": {
94 "@rollup/plugin-commonjs": "^17.1.0",
95 "@rollup/plugin-json": "^4.1.0",
96 "@rollup/plugin-node-resolve": "^11.2.0",
97 "@rollup/plugin-typescript": "^8.2.0",
98 "@types/jest": "^27.0.2",
99 "@types/node-fetch": "^2.5.8",
100 "@types/qs": "^6.9.5",
101 "@types/ws": "^7.4.0",
102 "jest": "^27.2.4",
103 "rimraf": "^3.0.2",
104 "rollup": "^2.39.0",
105 "rollup-plugin-terser": "^7.0.2",
106 "standard-version": "^9.1.1",
107 "ts-jest": "^27.0.5",
108 "tslib": "^2.0.3",
109 "typescript": "^4.4.3"
110 }
111}