-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
92 lines (92 loc) · 2.44 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
{
"name": "futu-sdk",
"version": "0.2.0",
"private": false,
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./proto": {
"require": "./dist/proto.cjs",
"import": "./dist/proto.js"
}
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/lihz6/futu-sdk.git"
},
"bugs": {
"url": "https://github.com/lihz6/futu-sdk/issues"
},
"homepage": "https://github.com/lihz6/futu-sdk",
"prettier": {
"printWidth": 120,
"singleQuote": true,
"arrowParens": "avoid"
},
"tsup": {
"format": [
"esm",
"cjs"
],
"splitting": false,
"minify": true,
"clean": true,
"dts": true
},
"scripts": {
"proto": "pbjs -t static-module -w es6 node_modules/futu-api/proto/*.proto | tee node_modules/futu-sdk/dist/proto.js | pbts -o node_modules/futu-sdk/dist/proto.d.ts -",
"build": "tsup --external futu-sdk/proto --entry.index index.ts --entry.proto node_modules/futu-sdk/dist/proto.js",
"setup": "npm run proto && npm run build && rsync -a node_modules/futu-api/proto/*.proto dist/files",
"tests": "jest # WEBSOCKET_KEY=9d261112869397f0 npm run tests",
"write": "prettier --write '**/*.{cjs,ts,md,json}'"
},
"keywords": [
"富途",
"futu",
"futunn",
"futu-api",
"futu-open",
"futu-opend",
"futu-open-api",
"node-futu-api"
],
"files": [
"dist",
"fetch",
"utils",
"index.js",
"LICENSE",
"README.md",
"package.json",
"tsconfig.json",
"package-lock.json"
],
"author": "Li Hongzhang",
"license": "ISC",
"description": "futu-api 的高性能精简易用版;基于*.proto静态编译,提供高性能的多层封装但层层开放的易用接口,获取最原始最完整的量化数据;相较于Python, nodejs更接近Web, 从而轻而易举搭建一个可视化交易站点,这是进行可控量化交易的不二选择。",
"dependencies": {
"@types/long": "^5.0.0",
"bufferutil": "^4.0.8",
"long": "^5.2.3",
"protobufjs": "^7.4.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"futu-api": "^8.5.4508",
"futu-sdk": "^0.2.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"protobufjs-cli": "^1.1.3",
"ts-jest": "^29.2.5",
"tsup": "^8.2.4",
"typescript": "^5.5.4"
},
"peerDependencies": {
"@types/ws": "^8.5.12",
"ws": "^8.18.0"
}
}