-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
99 lines (99 loc) · 4.21 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
{
"name": "@renproject/gateway-sol",
"version": "2.0.6",
"repository": "https://github.io/renproject/gateway-sol",
"public": true,
"author": "renproject",
"license": "GPL-3.0",
"dependencies": {
"@openzeppelin/contracts": "4.3.3",
"@openzeppelin/contracts-upgradeable": "4.3.3"
},
"devDependencies": {
"@ethersproject/hardware-wallets": "^5.5.0",
"@ethersproject/providers": "^5.5.0",
"@nomiclabs/hardhat-ethers": "npm:[email protected]",
"@nomiclabs/hardhat-etherscan": "^2.1.7",
"@openzeppelin/hardhat-upgrades": "^1.12.0",
"@openzeppelin/upgrades-core": "^1.10.0",
"@renproject/chains-ethereum": "^3.0.0-alpha.7",
"@renproject/mock-provider": "^3.0.0-alpha.7",
"@renproject/provider": "^3.0.0-alpha.7",
"@renproject/ren": "^3.0.0-alpha.7",
"@typechain/ethers-v5": "^8.0.4",
"@typechain/hardhat": "^3.0.0",
"@types/chai": "^4.2.22",
"@types/chai-as-promised": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "16.11.9",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"bignumber.js": "^9.0.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-ethers": "^0.0.1",
"chalk": "^4.1.2",
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"ethers": "^5.5.1",
"fs-extra": "^10.0.0",
"hardhat": "^2.6.8",
"hardhat-deploy": "^0.9.10",
"hardhat-gas-reporter": "^1.0.4",
"loglevel": "^1.8.0",
"mocha": "^9.1.3",
"npmignore": "^0.2.0",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
"ts-generator": "^0.1.1",
"ts-node": "^10.4.0",
"typechain": "^6.0.4",
"typescript": "^4.5.2"
},
"scripts": {
"prepare": "node ./config/.setup.js && hardhat typechain",
"lint": "eslint \"**/*.{js,ts}\" && solhint src/**/*.sol",
"lint:fix": "eslint --fix \"**/*.{js,ts}\" && solhint --fix src/**/*.sol",
"format": "prettier --check \"**/*.{ts,js,sol}\"",
"format:fix": "prettier --write \"**/*.{ts,js,sol}\"",
"compile": "hardhat compile",
"void:deploy": "hardhat deploy",
"test": "cross-env HARDHAT_DEPLOY_FIXTURE=true HARDHAT_COMPILE=true mocha --config ./config/.mocharc.js test",
"gas": "cross-env REPORT_GAS=true hardhat test",
"coverage": "cross-env HARDHAT_DEPLOY_FIXTURE=true hardhat coverage",
"dev": "hardhat node --watch --export contractsInfo.json",
"local:dev": "hardhat --network localhost deploy --watch",
"execute": "node ./config/_scripts.js run",
"deploy": "node ./config/_scripts.js deploy",
"export": "node ./config/_scripts.js export",
"fork:execute": "node ./config/_scripts.js fork:run",
"fork:deploy": "node ./config/_scripts.js fork:deploy",
"fork:dev": "node ./config/_scripts.js fork:dev",
"fork:node": "node ./config/_scripts.js fork:node",
"fork:test": "node ./config/_scripts.js fork:test",
"bindings:go": "solc-0.8.7 --optimize darknode-sol=`pwd`/node_modules/darknode-sol @openzeppelin/upgrades=`pwd`/node_modules/@openzeppelin/upgrades @openzeppelin/contracts=`pwd`/node_modules/@openzeppelin/contracts --combined-json bin,abi,userdoc,devdoc,metadata $(find src -type f -name '*.sol') > go-abi.json && abigen --alias status=status2 -pkg bindings --out bindings.go --combined-json go-abi.json; rm go-abi.json",
"prepare-release": "npmignore"
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"singleQuote": false,
"explicitTypes": "always",
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 120,
"tabWidth": 4,
"singleQuote": false,
"explicitTypes": "always"
}
}
]
}
}