-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
73 lines (73 loc) · 2.22 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
{
"name": "hedgeplus-contract",
"version": "1.0.0",
"private": true,
"scripts": {
"build": "npm run clean && npm run compile",
"compile": "hardhat compile",
"deploy-rinkeby": "hardhat run scripts/deploy.ts --network rinkeby",
"deploy-kovan": "hardhat run scripts/deploy.ts --network kovan",
"deploy-mainnet": "hardhat run scripts/deploy.ts --network mainnet",
"deploy-matic": "hardhat run scripts/deploy.ts --network matic",
"deploy-bsc": "hardhat run scripts/deploy.ts --network bsc",
"clean": "hardhat clean",
"test": "hardhat test",
"lint:js": "eslint . --fix",
"lint:sol": "solhint contracts/*.sol",
"lint": "npm run prettier && npm run lint:js && npm run lint:sol",
"prettier": "prettier --write 'contracts/**/*.sol'",
"coverage": "npm run build && hardhat coverage --temp artifacts --network coverage",
"flatten": "npx hardhat flatten ./contracts/HedgePlus.sol > ./flattened.sol"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"git add"
],
"*.sol": [
"solhint"
],
"*.{js,sol}": [
"prettier --write"
]
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^4.1.0",
"@openzeppelin/hardhat-upgrades": "^1.8.2",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"chai": "^4.3.4",
"dotenv": "^10.0.0",
"eslint": "^7.27.0",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.3.0",
"hardhat": "^2.3.0",
"hardhat-gas-reporter": "^1.0.4",
"husky-v4": "^4.3.8",
"lint-staged": "^11.0.0",
"prettier-plugin-solidity": "^1.0.0-beta.11",
"solhint": "^3.3.6"
},
"dependencies": {
"@nomiclabs/hardhat-etherscan": "^2.1.2",
"@typechain/ethers-v5": "^7.0.0",
"@typechain/hardhat": "^2.0.1",
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/node": "^15.6.1",
"hardhat-deploy": "^0.7.10",
"solidity-coverage": "^0.7.16",
"ts-generator": "^0.1.1",
"ts-node": "^10.0.0",
"typechain": "^5.0.0",
"typescript": "^4.3.2"
}
}