-
Notifications
You must be signed in to change notification settings - Fork 83
/
package.json
86 lines (86 loc) 路 3.11 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
{
"name": "@mstable/protocol",
"version": "2.0.0",
"description": "mStable Contracts",
"author": "mStable <info@mstable.org>",
"license": "AGPL-3.0-or-later",
"files": [
"/contracts/**/*.sol",
"!/contracts/z_mocks",
"/build/contracts/**/*.json",
"/test-utils/**/*.ts",
"/types/**/*.ts"
],
"scripts": {
"lint": "yarn run lint-ts; yarn run lint-sol",
"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": "yarn hardhat test",
"test-file:long": "LONG_TESTS=true yarn hardhat test",
"compile": "yarn hardhat compile --force",
"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": {
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "4.0.0-beta.0",
"@tenderly/hardhat-tenderly": "^1.0.3",
"@typechain/ethers-v5": "^5.0.0",
"@types/lodash": "^4.14.138",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.22",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/eslint-plugin-tslint": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"chai": "^4.2.0",
"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.0.26",
"hardhat": "^2.0.8",
"hardhat-gas-reporter": "^1.0.1",
"hardhat-typechain": "0.3.3",
"humanize-duration": "^3.21.0",
"mocha": "^8.2.1",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.3",
"sol-merger": "^3.0.1",
"solc": "0.8.0",
"solhint": "^3.3.2",
"solidity-coverage": "0.7.12",
"ts-generator": "^0.1.1",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"typechain": "4.0.0",
"typescript": "^4.1.3"
},
"_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"
}
}