-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
124 lines (124 loc) · 3.39 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
{
"name": "@bancor/carbon-sdk",
"type": "module",
"source": "src/index.ts",
"version": "0.0.101-DEV",
"description": "The SDK is a READ-ONLY tool, intended to facilitate working with Carbon contracts. It's a convenient wrapper around our matching algorithm, allowing programs and users get a ready to use transaction data that will allow them to manage strategies and fulfill trades",
"main": "dist/index.cjs",
"module": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./contracts-api": {
"import": "./dist/contracts-api/index.js",
"require": "./dist/contracts-api/index.cjs"
},
"./chain-cache": {
"import": "./dist/chain-cache/index.js",
"require": "./dist/chain-cache/index.cjs"
},
"./trade-matcher": {
"import": "./dist/trade-matcher/index.js",
"require": "./dist/trade-matcher/index.cjs"
},
"./utils": {
"import": "./dist/utils/index.js",
"require": "./dist/utils/index.cjs"
},
"./strategy-management": {
"import": "./dist/strategy-management/index.js",
"require": "./dist/strategy-management/index.cjs"
}
},
"files": [
"dist"
],
"engines": {
"node": ">=18"
},
"typesVersions": {
"*": {
"contracts-api": [
"dist/contracts-api"
],
"chain-cache": [
"dist/chain-cache"
],
"trade-matcher": [
"dist/trade-matcher"
],
"utils": [
"dist/utils"
],
"strategy-management": [
"dist/strategy-management"
]
}
},
"types": "dist/index.d.ts",
"scripts": {
"clean": "rm -rf dist && rm -rf src/abis/types",
"compile-abis": "typechain --target ethers-v5 --out-dir 'src/abis/types' 'src/abis/**/*.json'",
"prebuild": "yarn clean && yarn compile-abis",
"build": "yarn lint && rollup -c",
"test": "yarn lint && mocha",
"lint": "eslint src --ext .ts"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bancorprotocol/carbon-sdk.git"
},
"keywords": [
"defi",
"crypto",
"bancor",
"carbon",
"sdk",
"trade",
"order",
"strategy"
],
"author": "Doron Zavelevsky <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/bancorprotocol/carbon-sdk/issues"
},
"homepage": "https://github.com/bancorprotocol/carbon-sdk#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@typechain/ethers-v5": "^11.1.2",
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.0",
"@types/node": "^18.19.17",
"@types/sinon": "^10.0.15",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"chai": "^4.3.10",
"eslint": "^8.57.0",
"mocha": "^10.1.0",
"rollup": "^4.21.2",
"rollup-plugin-terser": "^7.0.2",
"sinon": "^16.0.0",
"ts-node": "^10.9.2",
"tslib": "^2.7.0",
"typechain": "^8.3.2",
"typescript": "^5.5.4"
},
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@ethersproject/units": "^5.7.0",
"decimal.js": "^10.4.3",
"ethers": "^5.7.2",
"events": "^3.3.0"
}
}