-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
70 lines (70 loc) · 3.56 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
{
"name": "monorepo",
"packageManager": "yarn@4.5.3",
"private": true,
"workspaces": [
"packages/bots/liquidator",
"packages/bots/pyth-updater",
"packages/functions",
"packages/monitors/oracle",
"packages/chains",
"packages/sdk",
"packages/security",
"packages/types",
"packages/ui",
"packages/contracts"
],
"resolutions": {
"viem": "^2.21.12",
"typescript": "^5.5.3"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@tsconfig/recommended": "^1.0.6",
"@types/node": "^20.14.9",
"@types/rimraf": "^3",
"@typescript-eslint/eslint-plugin": "^6",
"@typescript-eslint/parser": "^6",
"eslint": "^8",
"eslint-config-prettier": "^9.1.0",
"netlify-cli": "^17.32.0",
"ts-node": "^10.9.1",
"tsc": "^2.0.4",
"tsup": "^8.1.0",
"typescript": "^5.5.3"
},
"dependencies": {
"@next/react-dev-overlay": "^14.1.4",
"@resolver-engine/core": "^0.3.3",
"next": "^14.2.4"
},
"scripts": {
"build:sdk": "yarn build:types && yarn build:chains && yarn workspace @ionicprotocol/sdk build",
"build:types": "yarn workspace @ionicprotocol/types build",
"build:chains": "yarn build:types && yarn workspace @ionicprotocol/chains build",
"build:security": "yarn build:types && yarn build:chains && yarn workspace @ionicprotocol/security build",
"build:ui": "yarn workspace @ionicprotocol/ui build",
"build:functions": "yarn workspace @ionicprotocol/functions build",
"build:contracts": "yarn build:types && yarn build:chains && yarn workspace @ionicprotocol/contracts build",
"build:liquidator": "yarn workspace @ionicprotocol/liquidator build",
"build:deploy:liquidator": "yarn build:sdk && yarn build:liquidator",
"build:oracles-monitor": "yarn workspace @ionicprotocol/oracles-monitor build",
"build:pyth-updater": "yarn workspace @ionicprotocol/pyth-updater build",
"build:deploy:oracles-monitor": "yarn build:sdk && yarn build:oracles-monitor",
"build:deploy:pyth-updater": "yarn build:sdk && yarn build:pyth-updater",
"build:deploy:ui": "yarn build:sdk && yarn workspace @ionicprotocol/security build && yarn build:ui && yarn build:functions",
"dev:ui": "yarn build:sdk && yarn workspace @ionicprotocol/security build && yarn workspace @ionicprotocol/ui dev",
"dev:liquidator": "yarn workspace @ionicprotocol/liquidator dev",
"dev:functions": "yarn build:sdk && yarn workspace @ionicprotocol/security build && yarn build:ui && netlify dev",
"dev:node": "yarn workspace @ionicprotocol/sdk hardhat node --no-deploy",
"dev:node:deploy": "yarn workspace @ionicprotocol/sdk deploy:localhost",
"dev:node:fork": "yarn workspace @ionicprotocol/sdk hardhat node --port 8545 --no-deploy",
"dev:node:bsc": "FORK_CHAIN_ID=56 FORK_RPC_URL=$BSC_RPC_URL yarn workspace @ionicprotocol/sdk hardhat node --port 8545 --no-deploy",
"dev:node:polygon": "FORK_CHAIN_ID=137 FORK_RPC_URL=$POLYGON_RPC_URL yarn workspace @ionicprotocol/sdk hardhat node --port 8546 --no-deploy",
"dev:node:chapel": "FORK_CHAIN_ID=97 FORK_RPC_URL=$CHAPEL_RPC_URL yarn workspace @ionicprotocol/sdk hardhat node --port 8547 --no-deploy",
"dev:node:arbitrum": "FORK_CHAIN_ID=42161 FORK_RPC_URL=$ARBITRUM_RPC_URL yarn workspace @ionicprotocol/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 @ionicprotocol/sdk hardhat node --tags prod",
"test:ui": "yarn workspace @ionicprotocol/ui test",
"analyze:ui": "yarn workspace @ionicprotocol/ui analyze"
}
}