-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
57 lines (57 loc) · 3.11 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
{
"name": "monorepo",
"packageManager": "[email protected]",
"private": true,
"workspaces": [
"packages/bots/liquidator",
"packages/functions",
"packages/monitors/oracle",
"packages/monitors/liquidity",
"packages/chains",
"packages/sdk",
"packages/security",
"packages/types",
"packages/ui"
],
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@tsconfig/recommended": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"netlify-cli": "^14.0.0",
"typescript": "^5.0.4"
},
"dependencies": {
"@resolver-engine/core": "^0.3.3",
"ts-node": "^10.9.1"
},
"resolutions": {
"@types/react": "^17.0.15"
},
"scripts": {
"build:sdk": "yarn build:types && yarn build:chains && yarn workspace @midas-capital/sdk build",
"build:types": "yarn workspace @midas-capital/types build",
"build:chains": "yarn build:types && yarn workspace @midas-capital/chains build",
"build:security": "yarn build:types && yarn build:chains && yarn workspace @midas-capital/security build",
"build:ui": "yarn workspace @midas-capital/ui build",
"build:functions": "yarn workspace @midas-capital/functions build",
"build:liquidator": "yarn workspace @midas-capital/liquidator build",
"build:oracles-monitor": "yarn workspace @midas-capital/oracles-monitor build",
"build:liquidity-monitor": "yarn workspace @midas-capital/liquidity-monitor build",
"build:deploy:liquidator": "yarn build:sdk && yarn build:liquidator",
"build:deploy:oracles-monitor": "yarn build:sdk && yarn build:oracles-monitor",
"build:deploy:ui": "yarn build:sdk && yarn workspace @midas-capital/security build && yarn build:ui && yarn build:functions",
"dev:ui": "yarn workspace @midas-capital/sdk export:ganache; yarn build:sdk && yarn workspace @midas-capital/security build && yarn workspace @midas-capital/ui dev",
"dev:functions": "yarn build:sdk && yarn workspace @midas-capital/security build && yarn build:ui && netlify dev",
"dev:node": "yarn workspace @midas-capital/sdk hardhat node --no-deploy",
"dev:node:deploy": "yarn workspace @midas-capital/sdk deploy:localhost",
"dev:node:fork": "yarn workspace @midas-capital/sdk hardhat node --port 8545 --no-deploy",
"dev:node:bsc": "FORK_CHAIN_ID=56 FORK_RPC_URL=$BSC_RPC_URL yarn workspace @midas-capital/sdk hardhat node --port 8545 --no-deploy",
"dev:node:polygon": "FORK_CHAIN_ID=137 FORK_RPC_URL=$POLYGON_RPC_URL yarn workspace @midas-capital/sdk hardhat node --port 8546 --no-deploy",
"dev:node:chapel": "FORK_CHAIN_ID=97 FORK_RPC_URL=$CHAPEL_RPC_URL yarn workspace @midas-capital/sdk hardhat node --port 8547 --no-deploy",
"dev:node:arbitrum": "FORK_CHAIN_ID=42161 FORK_RPC_URL=$ARBITRUM_RPC_URL yarn workspace @midas-capital/sdk hardhat node --port 8548 --no-deploy",
"dev:simulate:deploy:bsc": "FORK_RPC_URL=${FORK_RPC_URL} FORK_BLOCK_NUMBER= FORK_CHAIN_ID=56 yarn workspace @midas-capital/sdk hardhat node --tags prod",
"test:ui": "yarn workspace @midas-capital/ui test",
"analyze:ui": "yarn workspace @midas-capital/ui analyze"
}
}