forked from alpacahq/alpaca-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 2.93 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "@master-chief/alpaca",
"version": "6.3.10",
"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"
],
"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"
}
}