forked from derivexyz/v1-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 3.27 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
{
"name": "lyra-smart-contracts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"config": {
"src": "test/**/*.ts scripts/**/*.ts contracts/**/*.sol contracts/*.sol hardhat.config.ts"
},
"scripts": {
"clean": "hardhat clean && rimraf ./cache && rimraf ./artifacts && rimraf ./cache-ovm && rimraf ./artifacts-ovm",
"compile": "hardhat compile",
"compile:ovm": "hardhat compile --network local-ovm",
"build": "yarn clean && yarn compile",
"test": "hardhat test",
"runScripts": "ts-node scripts/runScripts.ts",
"getLPExposure": "ts-node scripts/getIndividualExposure.ts",
"doc:uml": "sol2uml ./contracts -i mocks,test -f png -o ./docs/uml/lyra.png",
"docify": "node docify.js",
"docgen": "yarn doc:uml && yarn docify",
"lint": "yarn run lint:sol && yarn run lint:ts && yarn run prettier:list-different",
"lint:fix": "yarn run lint:sol:fix && yarn run lint:ts:fix",
"lint:sol": "solhint \"contracts/**/*.sol\"",
"lint:sol:fix": "yarn lint:sol --fix",
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
"lint:ts:fix": "yarn lint:ts --fix",
"prettier:sol": "prettier --config .prettierrc --write \"contracts/**/*.sol\"",
"prettier:ts": "prettier --config .prettierrc --write \"**/*.{js,ts}\"",
"prettier:json:md": "prettier --config .prettierrc --write \"**/*.{json,md}\"",
"prettier": "yarn prettier:sol && yarn prettier:ts",
"prettier:list-different": "prettier --config .prettierrc --list-different \"**/*.{js,sol,ts}\"",
"size": "hardhat size-contracts",
"gas-report": "REPORT_GAS=true npm run test"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@eth-optimism/plugins": "^1.0.0-alpha.3",
"@ethereum-waffle/mock-contract": "^3.3.0",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "^3.3.0",
"@typechain/ethers-v5": "^6.0.1",
"@types/better-sqlite3": "^7.4.0",
"@types/chai": "^4.2.14",
"@types/mathjs": "^6.0.11",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"axios": "^0.21.4",
"better-sqlite3": "^7.4.3",
"chai": "^4.2.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"ethereum-waffle": "^3.2.1",
"ethers": "^5.1.0",
"hardhat": "^2.2.1",
"hardhat-contract-sizer": "^2.0.3",
"hardhat-gas-reporter": "^1.0.4",
"hardhat-typechain": "^0.3.5",
"husky": "4.3.8",
"lint-staged": "^10.5.4",
"mathjs": "^9.3.0",
"prettier": "^2.2.1",
"prettier-plugin-organize-imports": "^1.1.1",
"prettier-plugin-solidity": "^1.0.0-beta.10",
"rimraf": "^3.0.2",
"sol2uml": "^1.1.29",
"solc-0.7": "npm:solc@^0.7.0",
"solhint": "^3.3.4",
"solhint-plugin-prettier": "^0.0.5",
"solidity-docgen": "^0.5.13",
"ts-generator": "^0.1.1",
"ts-node": "^9.1.1",
"typechain": "^4.0.3",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"contracts/**/*.sol": [
"yarn prettier:sol"
],
"**/*.{js,ts}": [
"yarn prettier:ts",
"yarn lint:ts:fix"
]
},
"dependencies": {
"@ethersproject/abi": "^5.4.0"
}
}