-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json.scripts
More file actions
28 lines (22 loc) · 1.38 KB
/
package.json.scripts
File metadata and controls
28 lines (22 loc) · 1.38 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
{
"scripts": {
"compile": "hardhat compile",
"test": "hardhat test",
"test:unit": "hardhat test test/unit/**/*.js",
"test:integration": "hardhat test test/integration/**/*.js",
"deploy:implementation": "hardhat run scripts/deployment/01-deploy-implementation.js --network",
"deploy:factory": "hardhat run scripts/deployment/02-deploy-factory.js --network",
"deploy:proxy": "hardhat run scripts/deployment/03-deploy-proxy.js --network",
"deploy:full": "npm run deploy:implementation && npm run deploy:factory && npm run deploy:proxy",
"verify": "hardhat run scripts/deployment/04-verify-contracts.js --network",
"upgrade": "TARGET_VERSION=v3 hardhat run scripts/upgrades/upgrade-to-version.js --network",
"validate": "TARGET_VERSION=v3 hardhat run scripts/upgrades/validate-upgrade.js --network",
"rollback": "TARGET_VERSION=v2 hardhat run scripts/upgrades/rollback.js --network",
"status": "hardhat run scripts/utilities/check-status.js --network",
"versions": "hardhat run scripts/utilities/list-versions.js",
"setup:publishers": "hardhat run scripts/management/set-publishers.js --network",
"setup:moderators": "hardhat run scripts/management/set-moderators.js --network",
"pause": "hardhat run scripts/utilities/emergency-pause.js --network",
"clean": "hardhat clean && rm -rf typechain-types"
}
}