-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
176 lines (176 loc) · 10.8 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "@nevermined-io/contracts",
"version": "3.5.9",
"description": "Nevermined implementation of Nevermined in Solidity",
"bugs": {
"url": "https://github.com/nevermined-io/contracts/issues"
},
"homepage": "https://github.com/nevermined-io/contracts#readme",
"main": "README.md",
"scripts": {
"compile": "hardhat compile",
"build": "hardhat compile",
"audit": "npx truffle exec ./scripts/deploy/auditWrapper.js",
"audit:development": "export NETWORK=development&&yarn run audit --network development",
"audit:aurora-testnet": "export NETWORK=aurora-testnet&&yarn run audit --network aurora-testnet",
"audit:aurora": "export NETWORK=aurora&&yarn run audit --network aurora",
"audit:spree": "export NETWORK=spree&&yarn run audit --network spree",
"audit:rinkeby": "export NETWORK=rinkeby&&yarn run audit --network rinkeby",
"audit:alfajores": "export NETWORK=celo-alfajores&&yarn run audit --network celo-alfajores",
"audit:baklava": "export NETWORK=celo-baklava&&yarn run audit --network celo-baklava",
"audit:arbitrum-sepolia": "export NETWORK=arbitrum-sepolia&&yarn run audit --network arbitrum-sepolia",
"audit:mainnet": "export NETWORK=mainnet&&yarn run audit --network mainnet",
"audit:mumbai": "export NETWORK=mumbai&&yarn run audit --network mumbai",
"audit:matic": "export NETWORK=matic&&yarn run audit --network matic",
"audit:chiado": "export NETWORK=chiado &&yarn run audit --network chiado",
"audit:gnosis": "export NETWORK=gnosis &&yarn run audit --network gnosis",
"audit:arbitrum-one": "export NETWORK=arbitrum-one&&yarn run audit --network arbitrum-one",
"audit:optimism": "export NETWORK=optimism&&yarn run audit --network optimism",
"audit:base": "export NETWORK=base&&yarn run audit --network base",
"deploy": "npx hardhat run ./scripts/deploy/deployContractsWrapper.js",
"deploy:development": "export NETWORK=development&&export TESTNET=true&&yarn deploy --network development",
"deploy:external": "export NETWORK=development&&export TESTNET=true&&yarn deploy --network external",
"deploy:aurora-testnet": "export NETWORK=aurora-testnet&&export TESTNET=true&&yarn deploy --network aurora-testnet",
"deploy:aurora": "export NETWORK=aurora&&yarn deploy --network aurora",
"deploy:spree": "export NETWORK=spree&&export TESTNET=true&&yarn deploy --network spree",
"deploy:polygon-localnet": "export NETWORK=polygon-localnet&&export TESTNET=true&&yarn deploy --network polygon-localnet",
"deploy:geth-localnet": "export NETWORK=geth-localnet&&export TESTNET=true&&yarn deploy --network geth-localnet",
"deploy:rinkeby": "export NETWORK=rinkeby&&export TESTNET=true&&yarn deploy --network rinkeby",
"deploy:celo-alfajores": "export NETWORK=celo-alfajores&&export TESTNET=true&&yarn deploy --network celo-alfajores",
"deploy:celo-baklava": "export NETWORK=celo-baklava&&export TESTNET=true&&yarn deploy --network celo-baklava",
"deploy:celo": "export NETWORK=celo&&export TESTNET=false&&yarn deploy --network celo",
"deploy:arbitrum-sepolia": "export NETWORK=arbitrum-sepolia&&export TESTNET=true&&yarn deploy --network arbitrum-sepolia",
"deploy:mainnet": "export NETWORK=mainnet&&yarn deploy --network mainnet",
"deploy:arbitrum-one": "export NETWORK=arbitrum-one&&export TESTNET=false&&yarn deploy --network arbitrum-one",
"deploy:optimism": "export NETWORK=optimism && export TESTNET=false&&yarn deploy --network optimism",
"deploy:base": "export NETWORK=base&&export TESTNET=false&&yarn deploy --network base",
"deploy:peaq-mainnet": "export NETWORK=peaq-mainnet && yarn deploy --network peaq-mainnet",
"deploy:peaq-agung": "export NETWORK=peaq-agung && export TESTNET=true && yarn deploy --network peaq-agung",
"deploy:neon-devnet": "export NETWORK=neon-devnet&&export TESTNET=true&&yarn deploy --network neon-devnet",
"deploy:neon-mainnet": "export NETWORK=neon-mainnet&&export TESTNET=false&&yarn deploy --network neon-mainnet",
"deploy:mumbai": "export NETWORK=mumbai&&export TESTNET=true&&yarn deploy --network mumbai",
"deploy:matic": "export NETWORK=matic&&export TESTNET=false&&yarn deploy --network matic",
"deploy:chiado": "export NETWORK=chiado &&export TESTNET=true&&yarn deploy --network chiado",
"deploy:gnosis": "export NETWORK=gnosis&&export TESTNET=false&&yarn deploy --network gnosis",
"download-artifacts": "./scripts/download_artifacts_s3.sh",
"upload-artifacts": "./scripts/upload_artifacts_s3.sh",
"upgrade": "npx hardhat run ./scripts/deploy/upgradeContractsWrapper.js",
"upgrade:development": "export NETWORK=development&&yarn run upgrade --network development --testnet true",
"upgrade:external": "export NETWORK=external&&export TESTNET=true&&yarn run upgrade --network external",
"upgrade:aurora-testnet": "export NETWORK=aurora-testnet&&yarn run upgrade --network aurora-testnet --testnet true",
"upgrade:aurora": "export NETWORK=aurora&&yarn run upgrade --network aurora --testnet true",
"upgrade:spree": "export NETWORK=spree&&yarn run upgrade --network spree --testnet true",
"upgrade:rinkeby": "export NETWORK=rinkeby&&yarn run upgrade --network rinkeby --testnet true",
"upgrade:celo-alfajores": "export NETWORK=celo-alfajores&&yarn run upgrade --network celo-alfajores --testnet true",
"upgrade:baklava": "export NETWORK=celo-baklava&&yarn run upgrade --network celo-baklava --testnet true",
"upgrade:mainnet": "export NETWORK=mainnet&&yarn run upgrade --network mainnet",
"upgrade:arbitrum-sepolia": "export NETWORK=arbitrum-sepolia && export TESTNET=true && yarn run upgrade --network arbitrum-sepolia ",
"upgrade:mumbai": "export NETWORK=mumbai && export TESTNET=true &&yarn run upgrade --network mumbai ",
"upgrade:matic": "export NETWORK=matic&&yarn run upgrade --network matic",
"upgrade:chiado": "export NETWORK=chiado && export TESTNET=true &&yarn run upgrade --network chiado ",
"upgrade:gnosis": "export NETWORK=gnosis&&yarn run upgrade --network gnosis",
"upgrade:arbitrum-one": "export NETWORK=arbitrum-one&&yarn run upgrade --network arbitrum-one",
"upgrade:optimism": "export NETWORK=optimism&&yarn run upgrade --network optimism",
"upgrade:base": "export NETWORK=base&&yarn run upgrade --network base",
"upgrade:celo": "export NETWORK=celo&&yarn run upgrade --network celo",
"upgrade:peaq-mainnet": "export NETWORK=peaq-mainnet && yarn run upgrade --network peaq-mainnet ",
"upgrade:peaq-agung": "export NETWORK=peaq-agung && export TESTNET=true && yarn run upgrade --network peaq-agung ",
"test": "hardhat test",
"test:unit": "hardhat test $(find test/unit -name '*.*s')",
"test:integration": "hardhat test $(find test/int -name '*.*s')",
"test:kovan-integration": "hardhat test --network external $(find test/external/kovan -name '*.*s')",
"test:fast": "hardhat test $(find test/unit -name '*.*s') $(find test/int -name '*.*s')",
"test:upgrade": "hardhat test $(find test/upgrade -name '*.*s')",
"test:cover": "hardhat coverage --testfiles 'test'",
"test:manticore": "./test/verification/manticore/run.sh",
"doc:contracts": "hardhat docgen && cat docs/generated/index.md >> docs/generated/solidity-api.md",
"doc:addresses": "node scripts/contracts/get-addresses.js",
"doc:copyright": "scripts/add-spdx.sh",
"clean": "yarn clean:build&&yarn clean:cache&&yarn clean:coverage&&yarn clean:zos",
"clean:build": "rm -rf ./build/ ./artifacts/*.development.json ./artifacts/*.spree.json ./artifacts/*.hardhat.json ./artifacts/*.external.json",
"clean:cache": "rm -rf ./cache/ ./deploy-cache.json ./upgrade-cache.json ./transactions.json",
"clean:coverage": "rm -rf ./coverage/ ./coverageEnv/ ./coverage.json",
"clean:zos": "rm -rf ./zos.json ./zos.dev-8996.json ./zos.dev-8997.json ./.zos.session ./wallets.json deploy-cache.json ./upgrade-cache.json .openzeppelin/unknown-31337.json zos/ ./artifacts/*.development.json ./artifacts/*.spree.json ./artifacts/*.hardhat.json ./artifacts/*.testing.json ./artifacts/*.external.json",
"lint": "yarn lint:eslint&&yarn lint:ethlint",
"lint:eslint": "eslint --ignore-path .gitignore --ignore-pattern circuits --ext .js .",
"lint:ethlint": "solhint --max-warnings 0 'contracts/**/*.sol'",
"lint:fix": "yarn lint:eslint --fix && yarn lint:ethlint --fix",
"security:mythril": "./scripts/run-mythril-local.sh | tee mythrilReport.txt",
"security:securify": "docker run -v $(pwd):/project chainsecurity/securify -t 2>&1 | tee securifyReport.txt",
"security:slither": "export DISABLE_DEPENDENCIES=true && slither . --hardhat-artifacts-directory build 2>&1 | tee slitherReport.txt",
"security:upgradeability": "yarn clean&&yarn compile&&./scripts/upgradeability_checks.sh"
},
"directories": {
"doc": "docs",
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nevermined-io/contracts.git"
},
"author": "Nevermined",
"license": "Apache-2.0",
"devDependencies": {
"@gnosis.pm/safe-contracts": "1.3.0",
"@gnosis.pm/safe-core-sdk": "^2.1.0",
"@gnosis.pm/safe-deployments": "^1.4.0",
"@gnosis.pm/safe-ethers-lib": "^1.1.0",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13",
"@nomicfoundation/hardhat-verify": "^2.0.12",
"@nomiclabs/hardhat-truffle5": "^2.0.7",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@nomicfoundation/hardhat-ignition-ethers": "^0.15.7",
"@opengsn/dev": "^2.2.6",
"@opengsn/provider": "^2.2.6",
"@openzeppelin/hardhat-upgrades": "^1.28.0",
"auto-changelog": "^2.4.0",
"bignumber.js": "^9.0.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"circomlib": "^2.0.3",
"circomlibjs": "^0.1.1",
"eslint": "^8.14.0",
"eslint-config-oceanprotocol": "^1.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-standard": "^5.0.0",
"eth-gas-reporter": "^0.2.22",
"ethers": "^5.6.5",
"ffjavascript": "^0.2.50",
"findit": "^2.0.0",
"glob": "^8.0.1",
"hardhat": "^2.12.2",
"hardhat-contract-sizer": "^2.6.1",
"hardhat-dependency-compiler": "^1.1.3",
"hardhat-deploy-ethers": "^0.3.0-beta.13",
"hardhat-gas-reporter": "^1.0.8",
"hardhat-ignore-warnings": "^0.2.4",
"mathjs": "~7.5.1",
"prettier": "^2.6.2",
"snarkjs": "^0.4.24",
"solhint": "^3.3.7",
"solidity-coverage": "^0.7.16",
"solidity-docgen": "^0.6.0-beta.17",
"web3": "^1.7.3",
"yargs": "~15.3.1"
},
"files": [
"lib/*",
"README.md",
"LICENSE"
],
"resolutions": {
"web3-eth-accounts/scrypt.js": "0.3.0"
},
"dependencies": {
"@medusa-network/medusa-sdk": "^0.0.2",
"@openzeppelin/contracts-upgradeable": "^4.8.0",
"body-parser": "^1.20.2",
"cross-fetch": "^3.1.6",
"express": "^4.18.2",
"fetch": "^1.1.0",
"json-rpc-2.0": "^1.6.0",
"node-fetch": "^3.3.1"
}
}