/
package.json
105 lines (105 loc) 路 4.21 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
{
"name": "@mstable/protocol",
"version": "2.1.0",
"description": "mStable Contracts",
"author": "mStable <info@mstable.org>",
"license": "AGPL-3.0-or-later",
"files": [
"/contracts/**/*.sol",
"!/contracts/z_mocks",
"/build/contracts/**/*.json",
"./tasks/utils/*.ts",
"/test-utils/**/*.ts",
"/types/**/*.ts",
"./index.ts"
],
"main": "./index.ts",
"scripts": {
"compile-abis": "typechain --target=ethers-v5 --out-dir types/generated \"?(contracts|build)/!(build-info)/**/+([a-zA-Z0-9]).json\"",
"lint": "yarn run lint-ts; yarn run lint-sol",
"lint:fix": "yarn pretty-quick --pattern '**/*.*(sol|json)' --staged --verbose",
"lint-ts": "yarn eslint ./test --ext .ts --fix --quiet",
"lint-sol": "solhint 'contracts/**/*.sol'",
"coverage": "yarn hardhat compile --force && 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 compile && yarn hardhat --config tasks.config.ts",
"task:fork": "yarn compile && yarn hardhat --config tasks-fork.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",
"compile": "yarn hardhat compile --force && yarn run compile-abis",
"prettify": "prettier --write tasks/**/*.ts test/**/*.ts types/*.ts contracts/**/*.sol",
"flatten": "sol-merger \"./contracts/**/*.sol\" ./_flat",
"prepublishOnly": "yarn run compile"
},
"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-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "4.0.0-beta.0",
"@tenderly/hardhat-tenderly": "^1.0.12",
"@typechain/ethers-v5": "^7.0.1",
"@typechain/hardhat": "^2.1.0",
"@types/lodash": "^4.14.138",
"@types/mocha": "^8.2.2",
"@types/node": "^15.12.4",
"@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",
"chai": "^4.3.4",
"chalk": "^4.1.0",
"commitlint": "^12.1.1",
"csv-parse": "^4.15.0",
"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",
"ethers": "^5.3.1",
"ethers-multicall": "^0.2.0",
"graphql": "^15.5.0",
"graphql-request": "^3.4.0",
"hardhat": "^2.4.0",
"hardhat-gas-reporter": "^1.0.1",
"humanize-duration": "^3.21.0",
"husky": "^6.0.0",
"mocha": "^9.0.1",
"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.2",
"solhint": "^3.3.6",
"solidity-coverage": "0.7.16",
"ts-generator": "^0.1.1",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.9.0",
"typechain": "^5.1.0",
"typescript": "^4.3.4"
},
"_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"
},
"dependencies": {
"defender-relay-client": "^1.8.0"
}
}