-
Notifications
You must be signed in to change notification settings - Fork 256
/
package.json
113 lines (113 loc) · 7.37 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
{
"name": "cryptoblades",
"version": "1.0.0",
"description": "",
"main": "truffle-config.js",
"directories": {
"test": "test"
},
"dependencies": {
"@chainlink/contracts": "^0.1.7",
"@openzeppelin/contracts": "^3.4.1",
"@openzeppelin/contracts-upgradeable": "^3.4.1",
"@truffle/hdwallet-provider": "^1.5.0",
"abdk-libraries-solidity": "2.4.0",
"dayjs": "^1.10.7",
"dotenv": "^8.2.0",
"gsap": "^3.9.1",
"npm-run-all": "^4.1.5"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-truffle5": "^2.0.0",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/hardhat-upgrades": "^1.10.0",
"@openzeppelin/test-helpers": "^0.5.11",
"@openzeppelin/truffle-upgrades": "^1.8.0",
"@truffle/config": "^1.2.41",
"@truffle/provider": "^0.2.32",
"bignumber.js": "^9.0.1",
"csv-parse": "^5.3.0",
"async-retry": "^1.3.3",
"graph-data-structure": "^2.0.0",
"hardhat": "^2.6.2",
"imagemin": "^8.0.0",
"imagemin-pngquant": "^9.0.2",
"lerna": "^4.0.0",
"ohm-js": "^15.5.0",
"sass": "^1.44.0",
"shelljs": "^0.8.4",
"truffle": "^5.2.3",
"truffle-contract-size": "^2.0.1",
"truffle-export-abi": "^1.0.1",
"truffle-plugin-verify": "^0.5.17",
"vue-script2": "^2.1.0",
"yargs": "^17.0.1"
},
"scripts": {
"postinstall": "npm run contract:prepare && lerna exec -- npm install",
"lint": "lerna exec -- npm run lint",
"build:frontend": "cd frontend && npm run build",
"start:frontend": "cd frontend && npm start",
"contract:prepare": "npm run build -- --all",
"contract:deploy": "npm run deploy",
"build": "truffle compile",
"postbuild": "npm --prefix frontend/ run setup-app-config && node scripts/generate-ts-from-abis.js && npm run restore-all-networks",
"restore-all-networks": "run-s \"restore-networks 56\" \"restore-networks 97\" \"restore-networks 128\" \"restore-networks 256\" \"restore-networks 65\" \"restore-networks 66\" \"restore-networks 137\" \"restore-networks 80001\" \"restore-networks 43114\" \"restore-networks 43113\" \"restore-networks 1313161554\" \"restore-networks 1313161555\" \"restore-networks 2221\" \"restore-networks 2222\" \"restore-networks 2433657680876851\" \"restore-networks 1026062157\" \"restore-networks 52\" \"restore-networks 53\" \"restore-networks 83\" \"restore-networks 82\" \"restore-networks 12010\"",
"test": "truffle test",
"test:local": "hardhat test",
"deploy": "truffle migrate --reset",
"deploy-testnet": "truffle migrate --network bsctestnet",
"postdeploy-testnet": "run-s \"backup-networks 97\" \"verify-contracts -- --network bsctestnet\"",
"deploy-hecotestnet": "truffle migrate --network hecotestnet",
"postdeploy-hecotestnet": "run-s \"backup-networks 256\" \"verify-contracts -- --network hecotestnet\"",
"deploy-okextestnet": "truffle migrate --network okextestnet",
"postdeploy-okextestnet": "run-s \"backup-networks 65\" \"verify-contracts -- --network okextestnet\"",
"deploy-polygontestnet": "truffle migrate --network polygontestnet",
"postdeploy-polygontestnet": "run-s \"backup-networks 80001\" \"verify-contracts -- --network polygontestnet\"",
"deploy-avaxtestnet": "truffle migrate --network avaxtestnet",
"postdeploy-avaxtestnet": "run-s \"backup-networks 43113\" \"verify-contracts -- --network avaxtestnet\"",
"deploy-auroratestnet": "truffle migrate --network auroratestnet",
"postdeploy-auroratestnet": "run-s \"backup-networks 1313161555\" \"verify-contracts -- --network auroratestnet\"",
"deploy-kavatestnet": "truffle migrate --network kavatestnet",
"postdeploy-kavatestnet": "run-s \"backup-networks 2221\" \"verify-contracts -- --network kavatestnet\"",
"deploy-skaletestnet": "truffle migrate --network skaletestnet",
"postdeploy-skaletestnet": "run-s \"backup-networks 2433657680876851\" \"verify-contracts -- --network skaletestnet\"",
"deploy-coinextestnet": "truffle migrate --network coinextestnet",
"postdeploy-coinextestnet": "run-s \"backup-networks 53\" \"verify-contracts -- --network coinextestnet\"",
"deploy-metertestnet": "truffle migrate --network metertestnet",
"postdeploy-metertestnet": "run-s \"backup-networks 83\" \"verify-contracts -- --network metertestnet\"",
"deploy-opsidetestnet": "truffle migrate --network opsidetestnet",
"postdeploy-opsidetestnet": "run-s \"backup-networks 12010\" \"verify-contracts -- --network opsidetestnet\"",
"deploy-mainnet-warning-be-careful-this-is-prod": "truffle migrate --network bscmainnet",
"postdeploy-mainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 56\" \"verify-contracts -- --network bscmainnet\"",
"deploy-hecomainnet-warning-be-careful-this-is-prod": "truffle migrate --network hecomainnet",
"postdeploy-hecomainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 128\" \"verify-contracts -- --network hecomainnet\"",
"deploy-okexmainnet-warning-be-careful-this-is-prod": "truffle migrate --network okexmainnet",
"postdeploy-okexmainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 66\" \"verify-contracts -- --network okexmainnet\"",
"deploy-polygonmainnet-warning-be-careful-this-is-prod": "truffle migrate --network polygonmainnet",
"postdeploy-polygonmainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 137\" \"verify-contracts -- --network polygonmainnet\"",
"deploy-avaxmainnet-warning-be-careful-this-is-prod": "truffle migrate --network avaxmainnet",
"postdeploy-avaxmainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 43114\" \"verify-contracts -- --network avaxmainnet\"",
"deploy-auroramainnet-warning-be-careful-this-is-prod": "truffle migrate --network auroramainnet",
"postdeploy-auroramainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 1313161554 \" \"verify-contracts -- --network auroramainnet\"",
"deploy-kavamainnet-warning-be-careful-this-is-prod": "truffle migrate --network kavamainnet",
"postdeploy-kavamainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 2222 \" \"verify-contracts -- --network kavamainnet\"",
"deploy-skalemainnet-warning-be-careful-this-is-prod": "truffle migrate --network skalemainnet",
"postdeploy-skalemainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 1026062157 \" \"verify-contracts -- --network skalemainnet\"",
"deploy-coinexmainnet-warning-be-careful-this-is-prod": "truffle migrate --network coinexmainnet",
"postdeploy-coinexmainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 52 \" \"verify-contracts -- --network coinexmainnet\"",
"deploy-metermainnet-warning-be-careful-this-is-prod": "truffle migrate --network metermainnet",
"postdeploy-metermainnet-warning-be-careful-this-is-prod": "run-s \"backup-networks 82 \" \"verify-contracts -- --network metermainnet\"",
"deploy-mainnet-dry-run": "truffle migrate --network bscmainnet --dry-run",
"backup-networks": "node scripts/manage-networks.js backup",
"backup-networks-to-file": "node scripts/manage-networks.js backupToFile",
"restore-networks": "node scripts/manage-networks.js restore",
"restore-networks-from-file": "node scripts/manage-networks.js restoreFromFile",
"verify-contracts": "node scripts/verify-contracts.js",
"validate-migrations": "node scripts/validate-migrations.js"
},
"keywords": [],
"author": "",
"license": "ISC"
}