-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
102 lines (102 loc) · 3.36 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
{
"name": "@ragetrade/sdk",
"author": "LeadDev",
"homepage": "https://github.com/ragetrade/sdk#readme",
"version": "2.0.4",
"repository": "https://github.com/ragetrade/sdk.git",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"deployments",
"src",
"cli.js"
],
"engines": {
"node": ">=10"
},
"bin": {
"rage": "./cli.js",
"ragetrade": "./cli.js",
"ragetradesdk": "./cli.js"
},
"scripts": {
"start": "tsdx watch",
"build": "yarn clean && tsdx build && cp src/*.json dist && cp -r src/deployments dist",
"test": "tsdx test",
"lint": "tsdx lint",
"clean": "rm -rf dist",
"prepare": "yarn update",
"size": "size-limit",
"analyze": "size-limit --why",
"format": "prettier --check src test",
"format:fix": "prettier --write src test",
"update": "yarn update:all-repos && node process-abi.js && yarn build && yarn update:pools",
"update:pools": "node fetch-pools.js",
"update:all-repos": "yarn update:core && yarn update:tricrypto && yarn update:gmx && yarn update:dn && yarn update:uniswap:core && yarn update:uniswap:periphery && yarn format:fix",
"update:core": "REPO=core PACKAGE=@ragetrade/core yarn update:repo-package",
"update:tricrypto": "REPO=tricrypto-vault PACKAGE=@ragetrade/tricrypto-vault yarn update:repo-package",
"update:gmx": "REPO=gmx-vault PACKAGE=@ragetrade/gmx-vault yarn update:repo-package",
"update:dn": "REPO=delta-neutral-gmx-vaults PACKAGE=@ragetrade/delta-neutral-gmx-vaults yarn update:repo-package",
"update:uniswap:core": "REPO=uniswap-core PACKAGE=@uniswap/v3-core yarn update:repo-package",
"update:uniswap:periphery": "REPO=uniswap-periphery PACKAGE=@uniswap/v3-periphery yarn update:repo-package",
"update:repo-package": "./update-repo-package.sh",
"update:deployments:repo-package": "./update-repo-package.sh",
"update:typechain:repo-package": "rm -rf src/typechain/$REPO && typechain --target ethers-v5 --out-dir src/typechain/$REPO './node_modules/'\"$PACKAGE\"'/artifacts/**/*.sol/!(*.dbg.json)'"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"module": "dist/sdk.esm.js",
"size-limit": [
{
"path": "dist/sdk.cjs.production.min.js",
"limit": "700 KB"
},
{
"path": "dist/sdk.esm.js",
"limit": "650 KB"
}
],
"devDependencies": {
"@ragetrade/core": "^1.0.4-arbgoerli.5",
"@ragetrade/delta-neutral-gmx-vaults": "^2.0.0",
"@ragetrade/gmx-vault": "^1.0.1-arbgoerli.4",
"@ragetrade/tricrypto-vault": "^1.0.0-arbgoerli.5",
"@size-limit/preset-small-lib": "^7.0.5",
"@typechain/ethers-v5": "^10.2.0",
"@types/fs-extra": "^9.0.13",
"conditional-type-checks": "^1.0.6",
"dotenv": "^16.0.0",
"ethers": "^5.7.1",
"fs-extra": "^10.0.0",
"husky": "^7.0.4",
"prettier": "^2.6.1",
"size-limit": "^7.0.5",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typechain": "^8.0.0",
"typescript": "^4.6.3"
},
"peerDependencies": {
"ethers": "5.x"
},
"dependencies": {
"@uniswap/v3-sdk": "^3.8.2",
"ethers-repl": "^1.0.3",
"fast-deep-equal": "^3.1.3"
},
"resolutions": {
"tsdx/typescript": "^4.6.3",
"@uniswap/v3-sdk/@uniswap/v3-staker": "^1.0.2"
}
}