Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) 路 4.28 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) 路 4.28 KB
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
{
"name": "@mangrovedao/mangrove.js",
"version": "2.0.5-54",
"author": "Mangrove DAO",
"description": "A Typescript SDK for the Mangrove Protocol.",
"license": "MIT",
"main": "dist/nodejs/index.js",
"browser": "dist/browser/mangrove.min.js",
"scripts": {
"package-version": "echo $npm_package_version",
"precommit": "lint-staged",
"prepack": "pinst --disable && yarn run build",
"postpack": "pinst --enable",
"postinstall": "husky install",
"lint": "npx eslint ./src/*.ts",
"copyUni": "node copyUniBytecode.js",
"build": "npm-run-all -pn --aggregate-output typechain lint write-contract-version-ranges copyUni && npm-run-all -pn --aggregate-output tscbuild esbuild && yarn make-cli-executable",
"make-cli-executable": "shx chmod u+x ./dist/nodejs/cli/mgv.js",
"clean": "rimraf dist",
"test": "npm-run-all --parallel test:unit test:integration",
"test:integration": "cross-env NODE_ENV=test nyc --reporter=lcov mocha --config test/mocha/config/integration-tests.json --exit",
"test:unit": "cross-env NODE_ENV=test nyc --reporter=lcov mocha --config test/mocha/config/unit-tests.json --exit",
"test:coverage": "cross-env NODE_ENV=test nyc --reporter=lcov mocha --forbid-only --config test/mocha/config/coverage-tests.json --exit ",
"typechain": "ts-node --transpileOnly src/util/runTypechain.ts",
"write-contract-version-ranges": "ts-node --transpileOnly src/util/writeContractVersionRanges.ts",
"doc": "cd src && yarn typedoc --options ../typedoc.json index.ts",
"tscbuild": "tsc --build",
"esbuild": "node esbuild.mjs"
},
"files": [
"dist/",
"src/",
"LICENSE",
"README.md",
"tsconfig.json"
],
"imports": {
"#package.json": "./package.json"
},
"bin": {
"mgv": "./dist/nodejs/cli/mgv.js"
},
"repository": {
"type": "git",
"url": "https://github.com/mangrovedao/mangrove.js.git"
},
"keywords": [
"mangrove",
"mangrove.js",
"mangrove exchange",
"decentralized finance",
"defi",
"ethereum"
],
"nyc": {
"include": [
"src/**/*.ts"
]
},
"lint-staged": {
"*.{js,ts,css,md,json,mjs}": "prettier --write"
},
"dependencies": {
"@ethersproject/experimental": "^5.7.0",
"@mangrovedao/context-addresses": "^1.3.6-0",
"@mangrovedao/mangrove-core": "^2.1.1",
"@mangrovedao/mangrove-deployments": "^2.2.4-6",
"@mangrovedao/mangrove-strats": "^2.1.0-7",
"@mangrovedao/reliable-event-subscriber": "1.1.30",
"@types/object-inspect": "^1.8.1",
"@types/triple-beam": "^1.3.2",
"async-mutex": "^0.4.0",
"big.js": "^6.2.1",
"deepmerge": "^4.3.1",
"ethers": "^5.7.2",
"json-truncate": "^3.0.0",
"just-clone": "^6.2.0",
"logform": "^2.5.1",
"loglevel": "^1.8.1",
"node-cleanup": "^2.1.2",
"object-inspect": "^1.12.3",
"semver": "^7.5.4",
"triple-beam": "^1.3.0",
"util": "^0.12.5",
"yargs": "^17.3.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@espendk/json-file-reporter": "^1.4.2",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/hardware-wallets": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@typechain/ethers-v5": "^11.1.2",
"@types/big.js": "^6.1.6",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.3.1",
"@types/node-cleanup": "^2.1.2",
"@types/shelljs": "^0.8.11",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.4",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chalk": "^4.1.2",
"cross-env": "^7.0.3",
"dir-compare": "^4.0.0",
"esbuild": "^0.19.4",
"eslint": "^8.31.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"mkdirp": "^3.0.1",
"mocha": "^10.2.0",
"mocha-multi-reporters": "^1.5.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pinst": "^3.0.0",
"prettier": "^3.1.0",
"rimraf": "^5.0.1",
"shx": "^0.3.4",
"transparent-proxy": "^1.12.1",
"ts-essentials": "^9.3.1",
"ts-mockito": "^2.0.0",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typedoc": "^0.25.7",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.2.2"
},
"packageManager": "yarn@3.5.0"
}