|
17 | 17 | "web3.js"
|
18 | 18 | ],
|
19 | 19 | "scripts": {
|
20 |
| - "lint": "yarn prettier --check && yarn eslint", |
21 |
| - "lint:fix": "yarn prettier --write && yarn eslint --fix", |
| 20 | + "lint": "pnpm prettier --check && pnpm eslint", |
| 21 | + "lint:fix": "pnpm prettier --write && pnpm eslint --fix", |
22 | 22 | "eslint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
|
23 | 23 | "prettier": "prettier \"**/*.{js,md,json}\"",
|
24 |
| - "pretest": "cd ../.. && yarn build", |
| 24 | + "pretest": "cd ../.. && pnpm build", |
25 | 25 | "test": "mocha --recursive \"test/**/*.ts\" --exit && node web3-lazy-object-tests/when-accessing-web3-class.js && node web3-lazy-object-tests/when-accessing-web3-object.js && node web3-lazy-object-tests/when-requiring-web3-module.js",
|
26 | 26 | "build": "tsc --build .",
|
27 |
| - "prepublishOnly": "yarn build", |
| 27 | + "prepublishOnly": "pnpm build", |
28 | 28 | "clean": "rimraf dist"
|
29 | 29 | },
|
30 | 30 | "files": [
|
|
34 | 34 | "README.md"
|
35 | 35 | ],
|
36 | 36 | "devDependencies": {
|
| 37 | + "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", |
| 38 | + "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", |
37 | 39 | "@types/chai": "^4.2.0",
|
38 | 40 | "@types/mocha": ">=9.1.0",
|
39 | 41 | "@types/node": "^16.0.0",
|
|
45 | 47 | "eslint-plugin-import": "2.27.5",
|
46 | 48 | "eslint-plugin-no-only-tests": "3.0.0",
|
47 | 49 | "eslint-plugin-prettier": "3.4.0",
|
48 |
| - "hardhat": "^2.0.0", |
| 50 | + "hardhat": "workspace:^", |
49 | 51 | "mocha": "^10.0.0",
|
50 | 52 | "prettier": "2.4.1",
|
51 | 53 | "rimraf": "^3.0.2",
|
| 54 | + "sha3": "^2.1.4", |
52 | 55 | "ts-node": "^10.8.0",
|
53 | 56 | "typescript": "~5.0.0",
|
54 | 57 | "web3": "^1.0.0-beta.36"
|
55 | 58 | },
|
56 | 59 | "peerDependencies": {
|
57 |
| - "hardhat": "^2.0.0", |
| 60 | + "hardhat": "workspace:^", |
58 | 61 | "web3": "^1.0.0-beta.36"
|
59 | 62 | },
|
60 | 63 | "dependencies": {
|
|
0 commit comments