-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
37 lines (37 loc) · 980 Bytes
/
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
{
"name": "@dialecticch/safe-flashloan",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"chai": "^4.3.4",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.4.6",
"hardhat": "^2.6.4",
"lint-staged": "^11.0.1",
"prettier": "^2.3.1",
"prettier-plugin-solidity": "*",
"solhint-plugin-prettier": "^0.0.5",
"ts-node": "^10.2.1"
},
"lint-staged": {
"*.ts": [
"prettier --write"
],
"*.sol": [
"prettier --write"
],
"*.md": "prettier --write",
"*.js": "eslint --cache --fix"
},
"scripts": {
"build": "hardhat compile",
"test": "hardhat test",
"coverage": "hardhat coverage",
"lint": "npm run lint:sol",
"lint:sol": "solhint 'contracts/**/*.sol'",
"fmt": "npm run fmt:sol && npm run fmt:ts",
"fmt:sol": "prettier 'contracts/**/*.sol' -w",
"fmt:ts": "prettier --write 'test/**/*.ts'",
"prepare": "husky install"
}
}