-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
112 lines (112 loc) · 3.7 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
{
"name": "sovrynsmartcontracts",
"version": "1.0.0",
"description": "Smart contracts for the Sovryn protocol and external integrations.",
"keywords": [
"Sovryn",
"Bitcoin DeFi"
],
"author": "Sovryn",
"license": "Apache-2.0",
"homepage": "https://sovryn.app",
"repository": {
"type": "git",
"url": "https://github.com/DistributedCollective/Sovryn-smart-contracts"
},
"bugs": {
"url": "https://github.com/DistributedCollective/Sovryn-smart-contracts/issues"
},
"files": [
"artifacts/",
"contracts/",
"deployment/",
"external/",
"hardhat/",
"interfaces/",
"scripts/contractInteraction/mainnet_contracts.json",
"scripts/contractInteraction/testnet_contracts.json",
"abi/"
],
"devDependencies": {
"@defi-wonderland/smock": "^2.3.4",
"@nomicfoundation/hardhat-foundry": "^1.0.2",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
"@nomiclabs/hardhat-ethers": "^2.2.2",
"@nomiclabs/hardhat-ganache": "^2.0.0",
"@nomiclabs/hardhat-truffle5": "^2.0.0",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts": "^4.9.5",
"@openzeppelin/test-helpers": "^0.5.16",
"@secrez/cryptoenv": "^0.2.4",
"@uniswap/sdk-core": "^4.1.3",
"@uniswap/v3-sdk": "^3.10.2",
"bignumber.js": "^9.0.0",
"cli-color": "^2.0.3",
"coveralls": "^3.1.0",
"cross-env": "^7.0.3",
"csv-parser": "^3.0.0",
"decimal.js": "10.2.0",
"dotenv": "^16.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.10.0",
"ethereum-waffle": "^4.0.10",
"ethereumjs-abi": "^0.6.8",
"ganache-core": "^2.10.2",
"hardhat": "^2.13.0",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.0.2",
"hardhat-deploy": "^0.11.26",
"hardhat-deploy-ethers": "^0.3.0-beta.13",
"hardhat-log-remover": "^2.0.0",
"husky": "^4.3.6",
"keccak": "^3.0.3",
"keccak256": "^1.0.6",
"mocha": "^8.2.1",
"node-logs": "^1.1.0",
"patch-package": "^7.0.0",
"phantomjs-prebuilt": "^2.1.16",
"prettier": "3.2.4",
"prettier-plugin-solidity": "^1.3.1",
"sol2uml": "^1.1.17",
"solhint": "^3.0.0",
"solhint-plugin-prettier": "^0.1.0",
"solparse": "^2.2.8",
"truffle": "^5.1.60",
"web3": "^1.3.1",
"yarn": "^1.22.19"
},
"scripts": {
"docgen": "solidoc2 ./ ./docs",
"analyze-contracts": "slither .",
"contract-size": "yarn run hardhat size-contracts",
"coverage": "npx hardhat coverage",
"doc": "yarn docgen",
"lint": "npm run lint-sol && npm run lint-js",
"lint-sol": "solhint contracts/{*,**/*,**/**/*,**/**/**/*,**/**/**/**/*}.sol",
"lint-js": "eslint . --ext .js",
"prettier": "prettier --write .",
"prettier-check": "prettier --check .",
"test": "npx hardhat test",
"uml": "npx sol2uml ./contracts -o UML.svg",
"generate-types": "hardhat export-abi",
"prepare": "npx patch-package",
"compile": "npx hardhat compile",
"npm-publish": "npm run compile && npm publish",
"fees-withdraw": "brownie run rewards_cron",
"set-block": "brownie run setBlock_cron",
"fork:rsk-mainnet": "hardhat node --fork https://mainnet-dev.sovryn.app/rpc --no-deploy",
"fork:rsk-mainnet-at-block": "cross-env IS_FORKED=1 && hardhat node --fork https://mainnet-dev.sovryn.app/rpc --no-deploy --fork-block-number 4690000",
"fork:rsk-testnet": "hardhat node --fork https://testnet.sovryn.app/rpc --no-deploy",
"hh:console-fork-mainnet": "hardhat console --network rskForkedMainnet",
"hh:console-fork-testnet": "hardhat console --network rskForkedTestnet",
"deploy:staking-modules": "hardhat deploy --tags StakingModules",
"analyze:staking-modules": "slither contracts/governance/Staking/modules/ --exclude naming-convention"
},
"husky": {
"hooks": {
"pre-commit": "yarn prettier",
"pre-push": "yarn lint && yarn prettier-check"
}
}
}