|
5 | 5 | "scripts": {
|
6 | 6 | "build": "hardhat compile",
|
7 | 7 | "test": "hardhat test",
|
8 |
| - "deploy": "hardhat deploy --export export.json" |
| 8 | + "deploy": "hardhat deploy --export export.json", |
| 9 | + "format": "npm run lint", |
| 10 | + "format:fix": "npm run lint:fix", |
| 11 | + "lint": "npm run lint:eslint && npm run lint:sol && npm run lint:config", |
| 12 | + "lint:fix": "npm run lint:fix:eslint && npm run lint:fix:sol && npm run lint:config:fix", |
| 13 | + "lint:eslint": "eslint .", |
| 14 | + "lint:fix:eslint": "eslint . --fix", |
| 15 | + "lint:sol": "solhint 'contracts/**/*.sol'", |
| 16 | + "lint:fix:sol": "solhint 'contracts/**/*.sol' --fix", |
| 17 | + "lint:config": "prettier -c '**/*.@(json|yaml)'", |
| 18 | + "lint:config:fix": "prettier -w '**/*.@(json|yaml)'" |
9 | 19 | },
|
10 | 20 | "dependencies": {
|
11 | 21 | "@openzeppelin/contracts": "^4.3.2",
|
12 |
| - "@thesis/solidity-contracts": "github:thesis/solidity-contracts#4985bcf" |
13 |
| - }, |
14 |
| - "devDependencies": { |
| 22 | + "@thesis/solidity-contracts": "github:thesis/solidity-contracts#4985bcf", |
| 23 | + "hardhat": "^2.6.4", |
| 24 | + "hardhat-deploy": "^0.9.1", |
15 | 25 | "@keep-network/hardhat-helpers": "https://github.com/keep-network/hardhat-helpers#ed35ab7",
|
16 | 26 | "@keep-network/hardhat-local-networks-config": "^0.1.0-pre.0",
|
17 | 27 | "@nomiclabs/hardhat-ethers": "^2.0.2",
|
18 | 28 | "@nomiclabs/hardhat-waffle": "^2.0.1",
|
19 | 29 | "@tenderly/hardhat-tenderly": "^1.0.12",
|
| 30 | + "@typechain/hardhat": "^2.3.0", |
| 31 | + "hardhat-gas-reporter": "^1.0.4", |
| 32 | + "hardhat-contract-sizer": "^2.1.1" |
| 33 | + }, |
| 34 | + "devDependencies": { |
20 | 35 | "@types/chai": "^4.2.22",
|
21 | 36 | "@types/mocha": "^9.0.0",
|
22 | 37 | "@types/node": "^16.9.6",
|
23 | 38 | "chai": "^4.3.4",
|
24 |
| - "eslint": "^7.30.0", |
25 |
| - "eslint-config-keep": "github:keep-network/eslint-config-keep#0c27ade", |
| 39 | + "eslint": "^7.2.0", |
| 40 | + "eslint-plugin-import": "^2.18.2", |
26 | 41 | "ethereum-waffle": "^3.4.0",
|
27 | 42 | "ethers": "^5.4.7",
|
28 |
| - "hardhat": "^2.6.4", |
29 |
| - "hardhat-contract-sizer": "^2.1.1", |
30 |
| - "hardhat-deploy": "^0.9.1", |
31 |
| - "hardhat-gas-reporter": "^1.0.4", |
| 43 | + "@thesis-co/eslint-config": "github:thesis/eslint-config", |
| 44 | + "@typechain/ethers-v5": "^7.1.2", |
| 45 | + "solhint": "^3.3.6", |
| 46 | + "solhint-config-keep": "github:keep-network/solhint-config-keep", |
32 | 47 | "ts-node": "^10.2.1",
|
33 |
| - "typescript": "^4.4.3" |
| 48 | + "typechain": "^5.1.2", |
| 49 | + "typescript": "^4.4.3", |
| 50 | + "prettier": "^2.4.1", |
| 51 | + "prettier-plugin-solidity": "^1.0.0-beta.18" |
34 | 52 | },
|
35 | 53 | "engines": {
|
36 | 54 | "node": ">= 14.0.0"
|
|
0 commit comments