Skip to content

Commit cd7edeb

Browse files
package hardhat-web3
1 parent 3325649 commit cd7edeb

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

packages/hardhat-web3/.gitignore

+1-11
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
# Logs
1616
logs
1717
*.log
18-
npm-debug.log*
19-
yarn-debug.log*
20-
yarn-error.log*
21-
lerna-debug.log*
2218

2319
# Diagnostic reports (https://nodejs.org/api/report.html)
2420
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -57,21 +53,15 @@ jspm_packages/
5753
# TypeScript v1 declaration files
5854
typings/
5955

60-
# Optional npm cache directory
61-
.npm
62-
6356
# Optional eslint cache
6457
.eslintcache
6558

6659
# Optional REPL history
6760
.node_repl_history
6861

69-
# Output of 'npm pack'
62+
# Output of 'pnpm pack'
7063
*.tgz
7164

72-
# Yarn Integrity file
73-
.yarn-integrity
74-
7565
# parcel-bundler cache (https://parceljs.org/)
7666
.cache
7767

packages/hardhat-web3/package.json

+9-6
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"web3.js"
1818
],
1919
"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",
2222
"eslint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
2323
"prettier": "prettier \"**/*.{js,md,json}\"",
24-
"pretest": "cd ../.. && yarn build",
24+
"pretest": "cd ../.. && pnpm build",
2525
"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",
2626
"build": "tsc --build .",
27-
"prepublishOnly": "yarn build",
27+
"prepublishOnly": "pnpm build",
2828
"clean": "rimraf dist"
2929
},
3030
"files": [
@@ -34,6 +34,8 @@
3434
"README.md"
3535
],
3636
"devDependencies": {
37+
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^",
38+
"@nomicfoundation/eslint-plugin-slow-imports": "workspace:^",
3739
"@types/chai": "^4.2.0",
3840
"@types/mocha": ">=9.1.0",
3941
"@types/node": "^16.0.0",
@@ -45,16 +47,17 @@
4547
"eslint-plugin-import": "2.27.5",
4648
"eslint-plugin-no-only-tests": "3.0.0",
4749
"eslint-plugin-prettier": "3.4.0",
48-
"hardhat": "^2.0.0",
50+
"hardhat": "workspace:^",
4951
"mocha": "^10.0.0",
5052
"prettier": "2.4.1",
5153
"rimraf": "^3.0.2",
54+
"sha3": "^2.1.4",
5255
"ts-node": "^10.8.0",
5356
"typescript": "~5.0.0",
5457
"web3": "^1.0.0-beta.36"
5558
},
5659
"peerDependencies": {
57-
"hardhat": "^2.0.0",
60+
"hardhat": "workspace:^",
5861
"web3": "^1.0.0-beta.36"
5962
},
6063
"dependencies": {

0 commit comments

Comments
 (0)