-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
76 lines (76 loc) · 2.28 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
{
"name": "stakewise",
"version": "0.1.0",
"private": true,
"author": "Dmitri Tsumak <[email protected]>",
"license": "GNU GPLv3",
"description": "StakeWise smart contracts",
"keywords": [
"StakeWise",
"Solidity",
"DeFi"
],
"scripts": {
"compile": "hardhat compile",
"coverage": "NODE_OPTIONS=\"--max-old-space-size=4096\" hardhat coverage",
"format": "prettier --write \"**/*.js\" \"*.json\"",
"lint": "solhint --max-warnings 0 \"contracts/**/*.sol\" && eslint \"**/*.js\"",
"lint:fix": "eslint --fix \"**/*.js\"",
"slither": "pip3 install --user slither-analyzer && slither .",
"test": "hardhat test",
"test:gas": "hardhat test --gas --optimizer",
"deploy-contracts": "yarn compile --optimizer && npx hardhat run --no-compile scripts/deploy.js",
"upgrade-contracts": "yarn compile --optimizer && npx hardhat run --no-compile scripts/upgrade.js",
"verify": "npx hardhat verify --optimizer"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"*.sol": [
"solhint --max-warnings 0 'contracts/**/*.sol'"
]
},
"repository": {
"type": "git",
"url": "https://github.com/stakewise/contracts"
},
"bugs": {
"url": "https://github.com/stakewise/contracts/issues"
},
"devDependencies": {
"@codechecks/client": "^0.1.12",
"@nomiclabs/hardhat-ethers": "^2.0.3",
"@nomiclabs/hardhat-etherscan": "^2.1.8",
"@nomiclabs/hardhat-truffle5": "^2.0.3",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts": "3.4.1",
"@openzeppelin/contracts-upgradeable": "3.4.1",
"@openzeppelin/hardhat-upgrades": "^1.12.0",
"@openzeppelin/test-helpers": "^0.5.15",
"chai": "^4.3.4",
"chalk": "^4.1.2",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eth-sig-util": "^3.0.1",
"ethers": "^5.5.2",
"hardhat": "^2.7.1",
"hardhat-abi-exporter": "^2.3.1",
"hardhat-contract-sizer": "^2.1.1",
"hardhat-gas-reporter": "^1.0.6",
"husky": "^7.0.4",
"lint-staged": "12.1.2",
"prettier": "^2.5.1",
"solhint": "^3.3.6",
"solidity-coverage": "^0.7.18",
"web3": "^1.6.1"
},
"dependencies": {}
}