-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
140 lines (140 loc) · 6.77 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
136
137
138
139
140
{
"name": "sovryn-mynt",
"version": "1.0.0",
"description": "Sovryn Mynt Contracts",
"license": "AGPL-3.0-or-later",
"files": [
"/contracts/**/*.sol",
"!/contracts/z_mocks",
"/artifacts/**/*.json",
"/scripts",
"/test-utils/**/*.ts",
"/types/**/*.ts"
],
"scripts": {
"deploy": "yarn hardhat deploy --network development --reset --tags migration",
"deploy:rinkeby": "yarn hardhat deploy --network rinkeby --reset --tags migration",
"deploy:ropsten": "yarn hardhat deploy --network ropsten --reset --tags migration",
"deploy:kovan": "yarn hardhat deploy --network kovan --reset --tags migration",
"deploy:rskDev": "yarn hardhat deploy --network rskDev --reset --tags migration",
"deploy:rskSovrynTestnet": "yarn hardhat deploy --network rskSovrynTestnet --reset --tags migration",
"deploy:rskTestnet": "yarn hardhat deploy --network rskTestnet --reset --tags migration",
"deploy:rskSovrynMainnet": "yarn hardhat deploy --network rskSovrynMainnet --reset --tags migration",
"deploy:rskMainnet": "yarn hardhat deploy --network rskMainnet --reset --tags migration",
"deploy-governance": "yarn hardhat deploy --network development --reset --tags governance",
"deploy-governance:ropsten": "yarn hardhat deploy --network ropsten --reset --tags governance",
"deploy-governance:kovan": "yarn hardhat deploy --network kovan --reset --tags governance",
"deploy-governance:rskTestnet": "yarn hardhat deploy --network rskTestnet --reset --tags governance",
"deploy-fish-token": "yarn hardhat deploy --network development --reset --tags fishToken",
"deploy-meta-asset-token": "yarn hardhat deploy --network development --reset --tags metaAssetToken",
"lint": "yarn run lint-ts; yarn run lint-sol",
"lint-ts": "yarn eslint . --ext .ts,.js --fix --quiet",
"lint-sol": "solhint contracts/{*,**/*,**/**/*,**/**/**/*,**/**/**/**/*}.sol",
"coverage": "node --max_old_space_size=6144 node_modules/.bin/hardhat coverage --temp 'artifacts' --testfiles 'test/[^e2e]*/*.ts' --show-stack-traces",
"test": "node --max_old_space_size=4096 node_modules/.bin/hardhat test;",
"test-file": "yarn hardhat test",
"test:fork": "yarn run compile; yarn hardhat test --network fork;",
"compile": "yarn hardhat compile --force",
"init": "yarn install && set TS_NODE_TRANSPILE_ONLY=1 && yarn hardhat compile --force",
"prepare": "yarn patch-package && rm -rf ./dist/ && set TS_NODE_TRANSPILE_ONLY=1 && yarn hardhat compile --force && tsc",
"contract-sizes": "yarn hardhat size-contracts",
"prettify": "prettier --write tests/**/*.ts types/generated/*.ts types/**/*.ts contracts/**/*.sol",
"prettify-sol": "prettier --write contracts/{*,**/*,**/**/*,**/**/**/*,**/**/**/**/*}.sol 2>&1 | grep -v 'No files matching the pattern were found'",
"prettier-check": "prettier --check .",
"prettier-check-sol": "prettier --check contracts/{*,**/*,**/**/*,**/**/**/*,**/**/**/**/*}.sol 2>&1 | grep -v 'No files matching the pattern were found'",
"flatten": "sol-merger \"./contracts/[^fish]**/*.sol\" ./_flat",
"prepublishOnly": "yarn run compile",
"docgen": "yarn hardhat compile --force && yarn run hardhat docgen",
"fork:rsk-mainnet": "hardhat node --fork https://mainnet-dev.sovryn.app/rpc --no-deploy",
"fork:rsk-testnet": "hardhat node --fork https://testnet.sovryn.app/rpc --no-deploy"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DistributedCollective/mynt/tree/development.git"
},
"devDependencies": {
"@defi-wonderland/smock": "^2.3.4",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.5",
"@nomicfoundation/hardhat-network-helpers": "^1.0.7",
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
"@nomiclabs/hardhat-etherscan": "^3.1.3",
"@nomiclabs/hardhat-solhint": "^2.0.1",
"@nomiclabs/hardhat-truffle5": "^2.0.7",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts": "^4.8.0",
"@openzeppelin/contracts-upgradeable": "^4.8.0",
"@openzeppelin/hardhat-upgrades": "^1.21.0",
"@openzeppelin/test-helpers": "^0.5.16",
"@openzeppelin/upgrades": "2.7.2",
"@typechain/ethers-v5": "^10.2.0",
"@typechain/hardhat": "^6.1.5",
"@typechain/truffle-v5": "^8.0.2",
"@types/bn.js": "^5.1.1",
"@types/chai": "^4.3.4",
"@types/lodash": "^4.14.190",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"@uniswap/permit2-sdk": "^1.2.0",
"chai": "^4.3.7",
"chai-bn": "^0.3.1",
"chai-core": "^5.0.0-alpha.2",
"chalk": "^3.0.0",
"eslint": "^8.28.0",
"eslint-config-airbnb-typescript": "^7.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.3",
"eth-permit": "^0.2.3",
"eth-sig-util": "^3.0.1",
"ethereumjs-util": "^7.1.5",
"ethereumjs-wallet": "^1.0.2",
"ethers": "^5.7.2",
"ethlint": "^1.2.5",
"hardhat": "^2.14.0",
"hardhat-contract-sizer": "^2.0.3",
"hardhat-deploy": "^0.11.15",
"hardhat-docgen": "^1.1.1",
"humanize-duration": "^3.21.0",
"husky": "^8.0.3",
"mocha": "^10.1.0",
"parse-duration": "^0.1.2",
"patch-package": "^5.0.0",
"prettier": "^2.8.8",
"prettier-plugin-solidity": "^1.1.3",
"solc": "^0.8.17",
"solhint-plugin-prettier": "^0.0.5",
"typechain": "^8.1.1",
"types-ethereumjs-util": "^0.0.8",
"typescript": "^4.9.3",
"web3": "^1.8.1"
},
"dependencies": {
"cryptoenv": "^0.2.0",
"dotenv": "^16.0.3",
"hardhat-gas-reporter": "^1.0.9",
"node-logs": "^1.1.0",
"sol-merger": "^3.0.1",
"solidity-coverage": "^0.8.2",
"ts-generator": "^0.1.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0"
},
"_moduleAliases": {
"@utils": "transpiled/test-utils"
},
"bugs": {
"url": "https://github.com/mstable/mstable-contracts/issues"
},
"homepage": "https://github.com/mstable/mstable-contracts#readme",
"directories": {
"test": "test"
}
}