forked from lidofinance/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
141 lines (141 loc) · 8.19 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "@lido/dao",
"version": "0.0.1",
"private": true,
"author": "Lido <[email protected]>",
"homepage": "https://lido.fi/",
"license": "GPL-3.0",
"workspaces": [
"apps/*/app",
"lib",
"gasprofile"
],
"scripts": {
"postinstall": "husky install",
"build:apps": "yarn compile && hardhat run --no-compile scripts/build-apps-frontend.js",
"lint": "yarn lint:sol && yarn lint:js",
"lint:sol": "solhint \"contracts/**/*.sol\" --ignore-path .solhintignore",
"lint:sol:fix": "yarn lint:sol --fix",
"lint:js": "yarn lint:js:cmd .",
"lint:js:fix": "yarn lint:js:cmd --fix .",
"lint:js:cmd": "eslint --ext .js --cache --ignore-path .gitignore --ignore-pattern 'apps/*/app/' --ignore-pattern /gasprofile/ --ignore-pattern /scripts/",
"test:forge": "forge test",
"test": "yarn run test:unit",
"test-sequential": "yarn run test:unit-sequential",
"test:unit": "yarn compile && hardhat test --parallel --network hardhat",
"test:unit-sequential": "yarn compile && hardhat test --network hardhat",
"test:gas": "yarn compile && REPORT_GAS=true hardhat test --network hardhat",
"test:coverage": "yarn compile && hardhat coverage --testfiles test",
"test:e2e": "yarn compile && ava -T 1000000 -v",
"estimate-deposit-loop-gas": "yarn run test:unit ./estimate_deposit_loop_gas.js",
"compile": "hardhat compile && yarn extract-abi && yarn extract-artifacts",
"clean": "hardhat clean",
"userdoc": "hardhat userdoc",
"extract-abi": "node ./scripts/extract-abi.js",
"extract-artifacts": "node ./scripts/extract-artifacts.js",
"size-contracts": "yarn run hardhat size-contracts",
"deploy": "yarn run deploy:all",
"deploy:all": "yarn compile && yarn deploy:aragon-env && yarn deploy:aragon-std-apps && yarn deploy:apm-and-template && yarn deploy:apps && yarn deploy:dao",
"deploy:e2e:all": "yarn compile && yarn deploy:e2e:aragon-env && yarn deploy:e2e:aragon-std-apps && yarn deploy:e2e:apm-and-template && yarn deploy:e2e:apps && yarn deploy:e2e:dao",
"deploy:aragon-env": "hardhat run --no-compile ./scripts/scratch/deploy-aragon-env.js",
"deploy:e2e:aragon-env": "NETWORK_NAME=e2e NETWORK_STATE_FILE=deployed-e2e.json hardhat run --no-compile ./scripts/scratch/deploy-aragon-env.js",
"deploy:aragon-std-apps": "RELEASE_TYPE=major hardhat run --no-compile ./scripts/scratch/deploy-aragon-std-apps.js --config ./hardhat.config.aragon-apps.js",
"deploy:e2e:aragon-std-apps": "NETWORK_NAME=e2e NETWORK_STATE_FILE=deployed-e2e.json IPFS_API_URL=http://localhost:5001/api/v0 IPFS_GATEWAY_URL=http://localhost:8080 RELEASE_TYPE=major hardhat run --no-compile ./scripts/scratch/deploy-aragon-std-apps.js --config ./hardhat.config.aragon-apps.js",
"deploy:apm-and-template": "hardhat run --no-compile ./scripts/scratch/deploy-lido-apm-and-template.js",
"deploy:e2e:apm-and-template": "NETWORK_NAME=e2e NETWORK_STATE_FILE=deployed-e2e.json hardhat run --no-compile ./scripts/scratch/deploy-lido-apm-and-template.js",
"deploy:apps": "hardhat run --no-compile ./scripts/scratch/deploy-lido-apps.js",
"deploy:e2e:apps": "NETWORK_NAME=e2e NETWORK_STATE_FILE=deployed-e2e.json IPFS_API_URL=http://localhost:5001/api/v0 IPFS_GATEWAY_URL=http://localhost:8080 hardhat run --no-compile ./scripts/scratch/deploy-lido-apps.js",
"deploy:app-pool": "APPS=depool yarn deploy:apps",
"deploy:app-staking-providers-registry": "APPS=staking-providers-registry yarn deploy:apps",
"deploy:local:all": "yarn compile && yarn deploy:local:aragon-env && yarn deploy:local:aragon-std-apps && yarn deploy:local:apm-and-template && yarn deploy:local:apps && yarn deploy:local:dao",
"deploy:local:aragon-env": "NETWORK_NAME=local NETWORK_STATE_FILE=deployed-local.json hardhat run --no-compile ./scripts/scratch/deploy-aragon-env.js",
"deploy:local:aragon-std-apps": "NETWORK_NAME=local NETWORK_STATE_FILE=deployed-local.json IPFS_API_URL=http://127.0.0.1:5001/api/v0 IPFS_GATEWAY_URL=http://127.0.0.1:8080 RELEASE_TYPE=major hardhat run --no-compile ./scripts/scratch/deploy-aragon-std-apps.js --config ./hardhat.config.aragon-apps.js",
"deploy:rinkeby:aragon-env": "NETWORK_NAME=rinkeby NETWORK_STATE_FILE=deployed-rinkeby.json hardhat run --no-compile ./scripts/scratch/deploy-aragon-env.js",
"deploy:rinkeby:aragon-std-apps": "NETWORK_NAME=rinkeby NETWORK_STATE_FILE=deployed-rinkeby.json IPFS_API_URL=http://127.0.0.1:5001/api/v0 IPFS_GATEWAY_URL=http://127.0.0.1:8080 RELEASE_TYPE=major hardhat run --no-compile ./scripts/scratch/deploy-aragon-std-apps.js --config ./hardhat.config.aragon-apps.js",
"deploy:mainnetfork:aragon-env": "NETWORK_NAME=mainnetfork NETWORK_STATE_FILE=deployed-mainnetfork.json hardhat run --no-compile ./scripts/scratch/deploy-aragon-env.js",
"deploy:mainnetfork:aragon-std-apps": "NETWORK_NAME=mainnetfork NETWORK_STATE_FILE=deployed-mainnetfork.json IPFS_API_URL=http://127.0.0.1:5001/api/v0 IPFS_GATEWAY_URL=http://127.0.0.1:8080 RELEASE_TYPE=major hardhat run --no-compile ./scripts/scratch/deploy-aragon-std-apps.js --config ./hardhat.config.aragon-apps.js",
"deploy:local:apm-and-template": "NETWORK_NAME=local NETWORK_STATE_FILE=deployed-local.json hardhat run --no-compile ./scripts/scratch/deploy-lido-apm-and-template.js",
"deploy:local:apps": "NETWORK_NAME=local NETWORK_STATE_FILE=deployed-local.json IPFS_API_URL=http://127.0.0.1:5001/api/v0 IPFS_GATEWAY_URL=http://127.0.0.1:8080o hardhat run --no-compile ./scripts/scratch/deploy-lido-apps.js",
"apps:lido": "yarn --cwd ./apps/lido/app/ cli",
"apps:nos": "yarn --cwd ./apps/node-operators-registry/app/ cli",
"lido:apps": "concurrently \"yarn apps:lido\" \"yarn apps:oracle\" \"yarn apps:nos\" ",
"aragon:start": "node scripts/start-aragon.js",
"lido:start": "hardhat node& yarn deploy:all && yarn lido:apps& hardhat run --no-compile scripts/start-aragon.js"
},
"devDependencies": {
"@aragon/apps-agent": "^2.0.0",
"@aragon/apps-finance": "^3.0.0",
"@aragon/apps-lido": "lidofinance/aragon-apps#master",
"@aragon/buidler-aragon": "^0.2.9",
"@aragon/contract-helpers-test": "^0.1.0",
"@aragon/hardhat-aragon": "^1.0.0",
"@aragon/id": "^2.0.3",
"@aragon/minime": "1.0.0",
"@aragon/test-helpers": "^2.1.0",
"@babel/core": "^7.21.0",
"@babel/node": "^7.12.1",
"@babel/preset-env": "^7.11.5",
"@babel/register": "^7.12.1",
"@nomiclabs/hardhat-ethers": "^2.0.4",
"@nomiclabs/hardhat-etherscan": "^2.1.8",
"@nomiclabs/hardhat-ganache": "^2.0.1",
"@nomiclabs/hardhat-truffle5": "^2.0.2",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/test-helpers": "^0.5.6",
"@truffle/contract": "^4.2.22",
"ava": "^3.13.0",
"ava-spec": "^1.1.1",
"babel-plugin-istanbul": "^6.0.0",
"bn.js": "^5.2.1",
"chai": "^4.2.0",
"concurrently": "^6.4.0",
"dotenv": "^8.2.0",
"electron": "^22.0.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"eth-ens-namehash": "^2.0.8",
"ethereumjs-testrpc-sc": "^6.5.1-sc.1",
"ethereumjs-util": "^7.0.8",
"ethers": "^5.1.4",
"ganache": "=7.6.0",
"hardhat": "2.12.7",
"hardhat-contract-sizer": "^2.5.0",
"hardhat-gas-reporter": "^1.0.8",
"hardhat-ignore-warnings": "skozin/hardhat-ignore-warnings#0ecf2ae85bddb83594193ee5c463cb4ae54cde7d",
"husky": "^8.0.2",
"ipfs-http-client": "^55.0.0",
"js-sha3": "^0.8.0",
"lerna": "^3.22.1",
"lint-staged": ">=10",
"minimatch": "^6.2.0",
"mocha-param": "^2.0.1",
"node-gyp": "^8.4.1",
"prettier": "^2.8.4",
"solhint": "^3.3.7",
"solhint-plugin-lido": "^0.0.4",
"solidity-coverage": "^0.8.2",
"truffle": "^5.1.43",
"truffle-extract": "^1.2.1",
"truffle-flattener": "^1.5.0",
"web3": "^1.3.0",
"winston": "^3.3.3",
"yargs": "^16.0.3"
},
"dependencies": {
"@aragon/os": "^4.4.0",
"@openzeppelin/contracts": "3.4.0",
"@openzeppelin/contracts-v4.4": "npm:@openzeppelin/[email protected]",
"openzeppelin-solidity": "2.0.0"
},
"overrides": {
"hardhat-gas-reporter": {
"eth-gas-reporter": {
"@ethersproject/abi": "^5.7.0"
}
}
}
}