Skip to content

Commit ee92534

Browse files
update root package.json
1 parent 6af4f7b commit ee92534

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

package.json

+6-20
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,21 @@
44
"author": "Nomic Labs LLC",
55
"license": "SEE LICENSE IN EACH PACKAGE'S LICENSE FILE",
66
"private": true,
7-
"workspaces": {
8-
"packages": [
9-
"packages/*"
10-
],
11-
"nohoist": [
12-
"**/find-up",
13-
"**/find-up/**",
14-
"**/@nomiclabs/truffle-contract",
15-
"**/@nomiclabs/truffle-contract/**"
16-
]
17-
},
187
"devDependencies": {
198
"@changesets/cli": "^2.16.0",
209
"prettier": "2.4.1",
2110
"shelljs": "^0.8.5",
22-
"typescript": "~5.0.0",
23-
"wsrun": "^5.2.2"
11+
"typescript": "~5.0.0"
2412
},
2513
"scripts": {
14+
"preinstall": "npx only-allow pnpm",
2615
"build": "tsc --build packages/hardhat-core packages/hardhat-ethers packages/hardhat-verify packages/hardhat-solhint packages/hardhat-solpp packages/hardhat-truffle4 packages/hardhat-truffle5 packages/hardhat-vyper packages/hardhat-web3 packages/hardhat-web3-legacy packages/hardhat-chai-matchers packages/hardhat-network-helpers packages/hardhat-toolbox packages/hardhat-foundry packages/hardhat-ledger packages/hardhat-viem packages/hardhat-toolbox-viem",
2716
"watch": "tsc --build --watch packages/hardhat-core/src packages/hardhat-ethers packages/hardhat-verify packages/hardhat-solhint packages/hardhat-solpp packages/hardhat-truffle4 packages/hardhat-truffle5 packages/hardhat-vyper packages/hardhat-web3 packages/hardhat-web3-legacy packages/hardhat-chai-matchers packages/hardhat-network-helpers packages/hardhat-toolbox packages/hardhat-foundry packages/hardhat-ledger packages/hardhat-viem packages/hardhat-toolbox-viem",
28-
"clean": "wsrun --exclude-missing clean",
17+
"clean": "pnpm run --recursive clean",
2918
"test": "node scripts/run-tests.js",
30-
"lint": "wsrun --exclude-missing --stages lint && yarn prettier --check",
31-
"lint:fix": "wsrun --exclude-missing --stages lint:fix && yarn prettier --write",
19+
"lint": "pnpm run --recursive lint && pnpm prettier --check",
20+
"lint:fix": "pnpm run --recursive lint:fix && pnpm prettier --write",
3221
"prettier": "prettier *.md \"{docs,.github}/**/*.{md,yml,ts,js}\" \"scripts/**/*.js\""
3322
},
34-
"dependencies": {},
35-
"resolutions": {
36-
"**/antlr4": "4.7.1"
37-
}
23+
"dependencies": {}
3824
}

0 commit comments

Comments
 (0)