|
29 | 29 | "scripts": {
|
30 | 30 | "build": "tsc --build .",
|
31 | 31 | "clean": "rimraf dist internal *.{d.ts,js}{,.map} build-test tsconfig.tsbuildinfo",
|
32 |
| - "coverage": "nyc yarn test -- --reporter min", |
| 32 | + "coverage": "nyc pnpm test -- --reporter min", |
33 | 33 | "eslint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
|
34 |
| - "lint": "yarn prettier --check && yarn eslint", |
35 |
| - "lint:fix": "yarn prettier --write && yarn eslint --fix", |
36 |
| - "prepublishOnly": "yarn build", |
| 34 | + "lint": "pnpm prettier --check && pnpm eslint", |
| 35 | + "lint:fix": "pnpm prettier --write && pnpm eslint --fix", |
| 36 | + "prepublishOnly": "pnpm build", |
37 | 37 | "prettier": "prettier \"**/*.{js,md,json}\"",
|
38 |
| - "pretest": "cd ../.. && yarn build", |
| 38 | + "pretest": "cd ../.. && pnpm build", |
39 | 39 | "test": "mocha --recursive \"test/**/*.ts\" --exit"
|
40 | 40 | },
|
41 | 41 | "dependencies": {
|
|
50 | 50 | "undici": "^5.14.0"
|
51 | 51 | },
|
52 | 52 | "devDependencies": {
|
| 53 | + "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", |
| 54 | + "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", |
53 | 55 | "@nomicfoundation/hardhat-ethers": "^3.0.0",
|
54 | 56 | "@types/chai": "^4.2.0",
|
55 | 57 | "@types/chai-as-promised": "^7.1.3",
|
| 58 | + "@types/debug": "^4.1.4", |
56 | 59 | "@types/lodash.clonedeep": "^4.5.7",
|
57 | 60 | "@types/mocha": ">=9.1.0",
|
58 | 61 | "@types/node": "^16.0.0",
|
|
69 | 72 | "eslint-plugin-no-only-tests": "3.0.0",
|
70 | 73 | "eslint-plugin-prettier": "3.4.0",
|
71 | 74 | "ethers": "^5.0.0",
|
72 |
| - "hardhat": "^2.0.4", |
| 75 | + "hardhat": "workspace:^", |
73 | 76 | "mocha": "^10.0.0",
|
74 | 77 | "nyc": "^15.1.0",
|
75 | 78 | "prettier": "2.4.1",
|
|
80 | 83 | "typescript": "~5.0.0"
|
81 | 84 | },
|
82 | 85 | "peerDependencies": {
|
83 |
| - "hardhat": "^2.0.4" |
| 86 | + "hardhat": "workspace:^" |
84 | 87 | }
|
85 | 88 | }
|
0 commit comments