-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
285 lines (285 loc) · 12.2 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
{
"name": "ccxt",
"version": "4.4.23",
"description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges",
"unpkg": "dist/ccxt.browser.min.js",
"type": "module",
"exports": {
".": {
"import": "./js/ccxt.js",
"require": "./dist/ccxt.cjs"
}
},
"bin": {
"ccxt": "examples/js/cli.js"
},
"engines": {
"node": ">=15.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.com"
},
"repository": {
"type": "git",
"url": "https://github.com/ccxt/ccxt.git"
},
"readme": "README.md",
"scripts": {
"instrument": "nyc instrument js/ jsInstrumented/",
"nyc-coverage": "nyc --reporter=html --reporter=lcov --exclude='js/src/pro/**' --exclude='js/src/base/**' --exclude='js/src/test/**' --exclude='js/src/abstract/**' --exclude='js/src/static_dependencies' node jsInstrumented/src/test/tests.init.js --requestTests --responseTests",
"coverage-js": "npm run instrument && npm run nyc-coverage && rm -rf jsInstrumented",
"docker": "docker-compose run --rm ccxt",
"fixTSBug": "node build/fixTSBug",
"transpileCsSingle": "tsx build/csharpTranspiler.ts",
"transpileCS": "tsx build/csharpTranspiler.ts --multi",
"transpileCSWs": "tsx build/csharpTranspiler.ts --ws",
"buildCS": "dotnet build cs/ccxt.sln",
"buildCSRelease": "dotnet build cs --configuration Release",
"csharp": "npm run transpileCS && npm run transpileCSWs && npm run buildCS",
"force-build": "npm run pre-transpile && npm run force-transpile-fast && npm run csharp && npm run post-transpile && npm run update-badges",
"build-docs": "node jsdoc2md.js && node examples2md.js",
"serve-docs": "docsify serve ./wiki",
"tsBuildFile": "tsc --skipLibCheck --strictNullChecks false --strict --noImplicitAny false --esModuleInterop --isolatedModules false --forceConsistentCasingInFileNames --removeComments false --target ES2020 --declaration --allowJs --checkJs false --moduleResolution Node --module ES2022 --outDir ./js/src --lib ES2020.BigInt --lib dom ",
"tsBuild": "tsc || echo \"\"",
"tsBuildExamples": "tsc -p ./examples/tsconfig.json",
"emitAPI": "node build/generateImplicitAPI.js",
"build": "npm run pre-transpile && npm run transpile && npm run post-transpile && npm run update-badges && npm run build-docs",
"force-build-slow": "npm run pre-transpile && npm run force-transpile && npm run post-transpile && npm run update-badges",
"pre-transpile": "npm run export-exchanges && npm run vss && npm run tsBuild && npm run emitAPI && npm run validate-types && npm run tsBuildExamples && npm run copy-python-files && npm run check-js-syntax && npm run bundle",
"pre-transpile-pr": "npm run export-exchanges && npm run tsBuild && npm run emitAPI && npm run check-js-syntax",
"post-transpile": "npm run check-python-syntax && npm run check-php-syntax",
"cli.js": "node ./examples/js/cli.js",
"cli.py": "python3 ./examples/py/cli.py",
"cli.php": "php ./examples/php/cli.php",
"cli.ts": "tsx examples/ts/cli.ts",
"cli.cs": "dotnet run --project \"./cs/cli/cli.csproj\"",
"export-exchanges": "node build/export-exchanges",
"capabilities": "node ./examples/js/exchange-capabilities.js",
"git-ignore-generated-files": "node build/git-ignore-generated-files.cjs",
"git-unignore-generated-files": "node build/git-ignore-generated-files.cjs --unignore",
"update-badges": "node build/update-badges",
"update-links": "node build/update-links",
"transpile": "npm run transpileRest && npm run transpileWs",
"transpileRest": "node build/transpile",
"transpileWs": "node build/transpileWS",
"force-transpile": "npm run force-transpileRest && npm run force-transpileWs",
"force-transpile-fast": "npm run dev-force-transpile",
"dev-force-transpile": "npm run fast-force-transpileRest && npm run fast-force-transpileWs",
"force-transpileRest": "node build/transpile --force",
"fast-force-transpileRest": "node build/transpile.js --multiprocess --force",
"force-transpileWs": "node build/transpileWS --force",
"fast-force-transpileWs": "node build/transpileWS.js --multiprocess --force",
"vss": "node build/vss",
"lint": "eslint \"ts/src/*.ts\" \"ts/src/base/Exchange.ts\" \"ts/src/pro/*.ts\" --cache --cache-location .cache/eslintcache --cache-strategy metadata",
"check-syntax": "npm run transpile && npm run check-js-syntax && npm run check-python-syntax && npm run check-php-syntax",
"check-js-syntax": "node -e \"console.log(process.cwd())\" && eslint --version && npm run lint",
"eslint": "eslint",
"check-python-syntax": "cd python && tox -e qa && cd ..",
"check-python-types": "cd python && tox -e type && cd ..",
"check-php-syntax": "npm run check-rest-php-syntax && npm run check-ws-php-syntax",
"check-rest-php-syntax": "php -f php/test/custom/syntax.php",
"check-ws-php-syntax": "php -f php/pro/test/custom/syntax.php",
"bundle": "npm run bundle-cjs && npm run bundle-browser",
"bundle-cjs": "rollup -c rollup.config.js",
"bundle-browser": "webpack build -c webpack.config.js && webpack build -c webpack.config.js --optimization-minimize --output-filename ccxt.browser.min.js",
"copy-python-files": "npm run copy-python-package && npm run copy-python-license && npm run copy-python-keys && npm run copy-python-readme",
"copy-python-package": "node build/copy package.json python/package.json",
"copy-python-license": "node build/copy LICENSE.txt python/LICENSE.txt",
"copy-python-keys": "node build/copy keys.json python/keys.json",
"copy-python-readme": "node build/copy README.md python/README.md",
"postinstall": "node postinstall.js",
"validate-types": "tsx build/validate-types.ts",
"live-tests": "node run-tests --useProxy",
"live-tests-rest": "npm run live-tests",
"live-tests-ws": "npm run live-tests -- --ws",
"live-tests-rest-ts": "npm run live-tests -- --ts",
"live-tests-ws-ts": "npm run live-tests -- --ts --ws",
"live-tests-rest-js": "npm run live-tests -- --js",
"live-tests-ws-js": "npm run live-tests -- --js --ws",
"live-tests-rest-py": "npm run live-tests -- --python",
"live-tests-ws-py": "npm run live-tests -- --python --ws",
"live-tests-rest-php": "npm run live-tests -- --php",
"live-tests-ws-php": "npm run live-tests -- --php --ws",
"live-tests-rest-csharp": "npm run live-tests -- --csharp",
"live-tests-ws-csharp": "npm run live-tests -- --csharp --ws",
"ti-ts": "tsx ts/src/test/tests.init.ts",
"ti-js": "node js/src/test/tests.init.js",
"ti-py": "python3 python/ccxt/test/tests_init.py",
"ti-php": "php php/test/tests_init.php",
"ti-cs": "dotnet run --project cs/tests/tests.csproj",
"request-ts": "npm run ti-ts -- --requestTests",
"request-js": "npm run ti-js -- --requestTests",
"request-py-async": "npm run ti-py -- --requestTests",
"request-py-sync": "npm run ti-py -- --requestTests --sync",
"request-py": "npm run request-py-sync && npm run request-py-async",
"request-php-async": "npm run ti-php -- --requestTests",
"request-php-sync": "npm run ti-php -- --requestTests --sync",
"request-php": "npm run request-php-sync && npm run request-php-async",
"request-cs": "npm run ti-cs -- --requestTests",
"request-tests": "npm run request-js && npm run request-py && npm run request-php && npm run request-cs",
"response-ts": "npm run ti-ts -- --responseTests",
"response-js": "npm run ti-js -- --responseTests",
"response-py-sync": "npm run ti-py -- --responseTests --sync",
"response-py-async": "npm run ti-py -- --responseTests",
"response-py": "npm run response-py-sync && npm run response-py-async",
"response-cs": "npm run ti-cs -- --responseTests",
"response-php-async": "npm run ti-php -- --responseTests",
"response-php-sync": "npm run ti-php -- --responseTests --sync",
"response-php": "npm run response-php-sync && npm run response-php-async",
"response-tests": "npm run response-js && npm run response-py && npm run response-php && npm run response-cs",
"static-data-updater": "tsx ./utils/update-static-json",
"id-tests-js": "npm run ti-js -- --idTests",
"id-tests-py": "npm run ti-py -- --idTests",
"id-tests-php": "npm run ti-php -- --idTests",
"id-tests-cs": "npm run ti-cs -- --idTests",
"id-tests": "npm run id-tests-js && npm run id-tests-py && npm run id-tests-php && npm run id-tests-cs",
"test-base-rest-ts": "npm run ti-ts -- --baseTests",
"test-base-rest-js": "npm run ti-js -- --baseTests",
"test-base-rest-py": "npm run ti-py -- --baseTests",
"test-base-rest-php": "npm run ti-php -- --baseTests",
"test-base-rest-cs": "npm run ti-cs -- --baseTests",
"test-base-ws-ts": "npm run ti-ts -- --baseTests --ws",
"test-base-ws-js": "npm run ti-js -- --baseTests --ws",
"test-base-ws-py": "npm run ti-py -- --baseTests --ws",
"test-base-ws-php": "npm run ti-php -- --baseTests --ws",
"test-base-ws-cs": "npm run ti-cs -- --baseTests --ws",
"test-base-rest": "npm run test-base-rest-js && npm run test-base-rest-py && npm run test-base-rest-php && npm run test-base-rest-cs",
"test-base-ws": "npm run test-base-ws-js && npm run test-base-ws-py && npm run test-base-ws-php && npm run test-base-ws-cs",
"test": "npm run build && npm run commonjs-test && npm run id-tests && npm run request-tests && npm run response-tests && npm run live-tests",
"commonjs-test": "node ./utils/test-commonjs.cjs",
"package-test": "./utils/package-test.sh",
"test-freshness": "tsx ./utils/test-freshness.ts",
"benchmark": "tsx examples/ts/benchmark.ts"
},
"types": "./js/ccxt.d.ts",
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.3",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"ansicolor": "1.1.81",
"as-table": "1.0.37",
"asciichart": "^1.5.25",
"assert": "^2.0.0",
"ast-transpiler": "^0.0.56",
"docsify": "^4.11.4",
"eslint": "8.22.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsdoc": "^46.9.0",
"esmify": "^2.1.1",
"https-proxy-agent": "^5.0.1",
"jsdoc-to-markdown": "^8.0.0",
"ololog": "1.1.155",
"piscina": "^3.2.0",
"replace-in-file": "^6.3.5",
"rollup": "^2.70.1",
"rollup-plugin-execute": "1.1.1",
"terser-webpack-plugin": "^5.3.9",
"ts-loader": "^9.4.2",
"tsx": "^4.7.2",
"typescript": "4.7.4",
"webpack": "^5.76.2",
"webpack-cli": "^5.0.1"
},
"author": {
"name": "Igor Kroitor",
"email": "[email protected]",
"url": "https://github.com/kroitor"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ccxt/ccxt/issues"
},
"homepage": "https://ccxt.com",
"keywords": [
"algorithmic",
"algotrading",
"altcoin",
"altcoins",
"api",
"arbitrage",
"real-time",
"realtime",
"backtest",
"backtesting",
"bitcoin",
"bot",
"btc",
"cny",
"coin",
"coins",
"crypto",
"cryptocurrency",
"crypto currency",
"crypto market",
"currency",
"currencies",
"darkcoin",
"dash",
"digital currency",
"doge",
"dogecoin",
"e-commerce",
"etc",
"eth",
"ether",
"ethereum",
"exchange",
"exchanges",
"eur",
"framework",
"invest",
"investing",
"investor",
"library",
"light",
"litecoin",
"ltc",
"market",
"market data",
"markets",
"merchandise",
"merchant",
"minimal",
"ohlcv",
"order",
"orderbook",
"order book",
"price",
"price data",
"pricefeed",
"private",
"public",
"ripple",
"strategy",
"ticker",
"tickers",
"toolkit",
"trade",
"trader",
"trading",
"usd",
"volume",
"websocket",
"websockets",
"web socket",
"web sockets",
"ws",
"xbt",
"xrp",
"zec",
"zerocoin"
],
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/ccxt",
"logo": "https://opencollective.com/ccxt/logo.txt"
},
"ethereum": "0x26a3CB49578F07000575405a57888681249c35Fd",
"dependencies": {
"ws": "^8.8.1"
}
}