forked from OriginTrail/dkg-evm-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 6.17 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
{
"name": "dkg-evm-module",
"version": "4.1.0",
"description": "Smart contracts for OriginTrail V6",
"main": "index.ts",
"files": [
"hardhat.config.ts",
"hardhat.node.config.ts",
"/contracts/**/*.sol",
"/utils/*",
"/deploy/*.ts",
"/abi/*.json"
],
"repository": {
"type": "git",
"url": "https://github.com/OriginTrail/dkg-evm-module"
},
"keywords": [
"OriginTrail",
"DKG",
"Solidity",
"Ethereum",
"Smart",
"Contracts"
],
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^1.0.5",
"@nomicfoundation/hardhat-network-helpers": "^1.0.7",
"@nomiclabs/hardhat-solhint": "^3.0.0",
"@openzeppelin/test-helpers": "^0.5.16",
"@typechain/hardhat": "^6.1.5",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"assertion-tools": "^2.0.2",
"chai": "^4.3.7",
"cross-env": "^7.0.3",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"ethers": "^5.7.2",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.6.1",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-tracer": "^1.2.1",
"husky": "^8.0.2",
"lint-staged": "^13.2.0",
"prettier": "^2.8.1",
"prettier-plugin-solidity": "^1.0.0",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.8.2",
"typechain": "^8.1.1"
},
"dependencies": {
"@openzeppelin/contracts": "^4.9.3",
"@polkadot/api": "^10.1.4",
"@polkadot/keyring": "^11.1.1",
"@polkadot/util": "^11.1.1",
"@polkadot/util-crypto": "^11.1.1",
"@prb/math": "^2.5.0",
"dotenv": "^16.0.3",
"hardhat": "^2.19.1",
"hardhat-deploy": "^0.11.25",
"hardhat-deploy-ethers": "^0.3.0-beta.13",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"overrides": {
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13"
},
"scripts": {
"clean": "hardhat clean",
"compile:size": "hardhat size-contracts",
"compile": "hardhat compile --config hardhat.node.config.ts",
"coverage": "cross-env COVERAGE_REPORT=true HARDHAT_DEPLOY_FIXTURE=true hardhat coverage --network hardhat --solcoverjs ./.solcover.js --temp artifacts --testfiles './test/**/*.test.ts'",
"deploy:v1:gnosis_chiado_dev": "hardhat deploy --network gnosis_chiado_dev --tags v1",
"deploy:v1:gnosis_chiado_test": "hardhat deploy --network gnosis_chiado_test --tags v1",
"deploy:v1:gnosis_mainnet": "hardhat deploy --network gnosis_mainnet --tags v1",
"deploy:v1:localhost": "hardhat deploy --network hardhat --tags v1",
"deploy:v1:otp_alphanet": "hardhat deploy --network otp_alphanet --tags v1",
"deploy:v1:otp_devnet": "hardhat deploy --network otp_devnet --tags v1",
"deploy:v1:otp_mainnet": "hardhat deploy --network otp_mainnet --tags v1",
"deploy:v1:otp_testnet": "hardhat deploy --network otp_testnet --tags v1",
"deploy:v1": "hardhat deploy --tags v1",
"deploy:v2:gnosis_chiado_dev": "hardhat deploy --network gnosis_chiado_dev --tags v1,v2",
"deploy:v2:gnosis_chiado_test": "hardhat deploy --network gnosis_chiado_test --tags v1,v2",
"deploy:v2:gnosis_mainnet": "hardhat deploy --network gnosis_mainnet --tags v1,v2",
"deploy:v2:localhost": "hardhat deploy --network hardhat --tags v1,v2",
"deploy:v2:otp_alphanet": "hardhat deploy --network otp_alphanet --tags v1,v2",
"deploy:v2:otp_devnet": "hardhat deploy --network otp_devnet --tags v1,v2",
"deploy:v2:otp_mainnet": "hardhat deploy --network otp_mainnet --tags v1,v2",
"deploy:v2:otp_testnet": "hardhat deploy --network otp_testnet --tags v1,v2",
"deploy:v2": "hardhat deploy --tags v1,v2",
"dev:v1": "hardhat node --network hardhat --config hardhat.node.config.ts --tags v1",
"dev:v2": "hardhat node --network hardhat --config hardhat.node.config.ts --tags v1,v2",
"dev": "hardhat node --network hardhat --config hardhat.node.config.ts --tags v1",
"export-abi": "hardhat export-abi",
"format:fix": "prettier --write '**/*.{json,js,ts,sol}'",
"format": "prettier --check '**/*.{json,js,ts,sol}'",
"generate-evm-account": "hardhat run scripts/generate_evm_account.ts --network localhost",
"generate-otp-account": "hardhat run scripts/generate_otp_account.ts --network localhost",
"lint:fix": "npm run lint:sol:fix && npm run lint:ts:fix",
"lint:sol:fix": "solhint 'contracts/**/*.sol' --fix",
"lint:sol": "solhint 'contracts/**/*.sol'",
"lint:ts:fix": "eslint '**/*.{js,ts}' --fix",
"lint:ts": "eslint '**/*.{js,ts}'",
"lint": "npm run lint:sol && npm run lint:ts",
"mint-test-tokens": "cross-env HARDHAT_DEPLOY_FIXTURE=true hardhat run scripts/mint_test_tokens.ts --network localhost",
"prepare": "husky install && hardhat typechain",
"slither:reentrancy": "slither . --detect reentrancy-eth,reentrancy-no-eth,reentrancy-unlimited-gas",
"slither": "slither .",
"test:fulltrace": "hardhat test --network hardhat --fulltrace",
"test:gas:fulltrace": "cross-env GAS_REPORT=true hardhat test --network hardhat --fulltrace",
"test:gas:trace": "cross-env GAS_REPORT=true hardhat test --network hardhat --trace",
"test:gas": "cross-env GAS_REPORT=true hardhat test --network hardhat",
"test:integration": "hardhat test --network hardhat --grep '@integration'",
"test:trace": "hardhat test --network hardhat --trace",
"test:unit": "hardhat test --network hardhat --grep '@unit'",
"test:v1:integration": "hardhat test --network hardhat --grep '@v1 @integration'",
"test:v1:unit": "hardhat test --network hardhat --grep '@v1 @unit'",
"test:v1": "hardhat test --network hardhat --grep '@v1'",
"test:v2:integration": "hardhat test --network hardhat --grep '@v2 @integration'",
"test:v2:unit": "hardhat test --network hardhat --grep '@v2 @unit'",
"test:v2": "hardhat test --network hardhat --grep '@v2'",
"test": "hardhat test --network hardhat",
"typechain": "hardhat typechain"
}
}