forked from mstable/mStable-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 4.76 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
{
"name": "@mstable/protocol",
"version": "2.4.3",
"description": "mStable Contracts",
"author": "mStable <[email protected]>",
"license": "AGPL-3.0-or-later",
"directories": {
"test": "test"
},
"files": [
"/abis",
"/contracts/**/*.sol",
"!/contracts/z_mocks",
"/dist",
"!/dist/test",
"!/dist/test-fork"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"lint": "yarn run lint-ts; yarn run lint-sol",
"lint:fix": "yarn pretty-quick --pattern '**/*.*(sol|json)' --staged --verbose && yarn pretty-quick --staged --write tasks/**/*.ts test/**/*.ts types/*.ts",
"lint-ts": "yarn eslint tasks/ test/ types/ --ext .ts --fix",
"lint-sol": "solhint 'contracts/**/*.sol'",
"clean": "yarn hardhat clean && rm -rf types/generated",
"compile-abis": "typechain --target=ethers-v5 --out-dir types/generated \"?(contracts|build)/!(build-info)/**/+([a-zA-Z0-9]).json\"",
"compile-ts": "npx tsc",
"compile": "yarn hardhat compile && yarn run compile-abis && yarn run compile-ts",
"flatten": "npx sol-merger \"./contracts/**/*.sol\" ./_flat",
"coverage": "node --max_old_space_size=6144 node_modules/.bin/hardhat coverage --temp 'build/contracts' --testfiles 'test/**/*.spec.ts' --show-stack-traces",
"convertTestFiles": "cd test-utils/validator-data; ts-node ./convertCsvTestFiles.ts",
"task": "yarn hardhat --config tasks.config.ts",
"task:fork": "yarn hardhat --config tasks-fork.config.ts",
"task:fork:polly": "yarn hardhat --config tasks-fork-polygon.config.ts",
"test": "yarn hardhat test",
"test:long": "LONG_TESTS=true yarn hardhat test",
"test:fork": "yarn hardhat --config hardhat-fork.config.ts test ./test-fork/**/*.spec.ts",
"test:file:fork": "yarn hardhat --config hardhat-fork.config.ts test",
"test:file": "yarn hardhat test",
"test:file:long": "LONG_TESTS=true yarn hardhat test",
"copy-types": "cp -R types/generated dist/types",
"prepublishOnly": "yarn compile && yarn compile-ts && yarn copy-types",
"forknode:start": "yarn hardhat node --hostname 127.0.0.1 --config hardhat-fork.config.ts",
"forknode:prepare": "yarn task --network localhost prepareAccount"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mstable/mstable-contracts.git"
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@nomiclabs/hardhat-etherscan": "^2.1.6",
"@types/lodash": "^4.14.138",
"@types/mocha": "^9.0.0",
"@types/node": "^16.6.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"axios": "^0.21.1",
"chalk": "^4.1.0",
"commitlint": "^12.1.1",
"eslint": "^7.18.0",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^7.2.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",
"ethereum-waffle": "^3.0.0",
"hardhat-abi-exporter": "^2.2.1",
"humanize-duration": "^3.21.0",
"husky": "^6.0.0",
"mocha": "^9.0.3",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.10",
"pretty-quick": "^3.1.0",
"sol-merger": "^3.0.1",
"solc": "0.8.6",
"solhint": "^3.3.7",
"ts-generator": "^0.1.1",
"typescript": "^4.6.3"
},
"_moduleAliases": {
"@utils": "dist/test-utils"
},
"bugs": {
"url": "https://github.com/mstable/mstable-contracts/issues"
},
"homepage": "https://github.com/mstable/mstable-contracts#readme",
"dependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "4.3.3",
"@openzeppelin/contracts-upgradeable": "4.3.3",
"@tenderly/hardhat-tenderly": "^1.0.12",
"@typechain/ethers-v5": "^7.0.1",
"@typechain/hardhat": "^2.3.0",
"chai": "^4.3.4",
"csv-parse": "^4.15.0",
"debug": "^4.3.3",
"defender-relay-client": "^1.10.0",
"ethers": "^5.4.4",
"ethers-multicall": "^0.2.0",
"graphql": "^15.5.0",
"graphql-request": "^3.5.0",
"hardhat": "2.6.4",
"hardhat-deploy": "^0.11.18",
"hardhat-gas-reporter": "^1.0.1",
"solidity-coverage": "0.7.16",
"ts-node": "^10.2.0",
"tsconfig-paths": "^3.10.1",
"typechain": "^5.1.2"
}
}