|
16 | 16 | "viem"
|
17 | 17 | ],
|
18 | 18 | "scripts": {
|
19 |
| - "lint": "yarn prettier --check && yarn eslint", |
20 |
| - "lint:fix": "yarn prettier --write && yarn eslint --fix", |
| 19 | + "lint": "pnpm prettier --check && pnpm eslint", |
| 20 | + "lint:fix": "pnpm prettier --write && pnpm eslint --fix", |
21 | 21 | "eslint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
|
22 | 22 | "prettier": "prettier \"**/*.{js,md,json}\"",
|
23 |
| - "pretest": "cd ../.. && yarn build", |
| 23 | + "pretest": "cd ../.. && pnpm build", |
24 | 24 | "test": "mocha --recursive \"test/**/*.ts\" -c --exit",
|
25 | 25 | "snapshots:update": "ts-node test/update-snapshots.ts",
|
26 |
| - "coverage": "nyc yarn test -- --reporter min", |
| 26 | + "coverage": "nyc pnpm test -- --reporter min", |
27 | 27 | "build": "tsc --build .",
|
28 |
| - "prepublishOnly": "yarn build", |
| 28 | + "prepublishOnly": "pnpm build", |
29 | 29 | "clean": "rimraf internal *.{d.ts,js}{,.map} build-test tsconfig.tsbuildinfo"
|
30 | 30 | },
|
31 | 31 | "files": [
|
|
39 | 39 | "README.md"
|
40 | 40 | ],
|
41 | 41 | "devDependencies": {
|
| 42 | + "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", |
| 43 | + "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", |
42 | 44 | "@types/chai": "^4.2.0",
|
43 | 45 | "@types/chai-as-promised": "^7.1.3",
|
| 46 | + "@types/lodash": "^4.14.197", |
44 | 47 | "@types/lodash.memoize": "^4.1.7",
|
45 | 48 | "@types/mocha": ">=9.1.0",
|
46 | 49 | "@types/node": "^16.0.0",
|
|
54 | 57 | "eslint-plugin-import": "2.27.5",
|
55 | 58 | "eslint-plugin-no-only-tests": "3.0.0",
|
56 | 59 | "eslint-plugin-prettier": "3.4.0",
|
57 |
| - "hardhat": "^2.17.0", |
| 60 | + "hardhat": "workspace:^", |
58 | 61 | "jest-diff": "^29.7.0",
|
59 | 62 | "mocha": "^10.0.0",
|
| 63 | + "nyc": "^15.1.0", |
60 | 64 | "prettier": "2.4.1",
|
| 65 | + "rimraf": "^3.0.2", |
61 | 66 | "sinon": "^9.0.0",
|
62 | 67 | "ts-node": "^10.8.0",
|
63 | 68 | "typescript": "~5.0.0",
|
64 | 69 | "viem": "^1.15.1"
|
65 | 70 | },
|
66 | 71 | "peerDependencies": {
|
67 |
| - "hardhat": "^2.17.0", |
| 72 | + "hardhat": "workspace:^", |
68 | 73 | "typescript": "~5.0.0",
|
69 | 74 | "viem": "^1.15.1"
|
70 | 75 | },
|
|
0 commit comments