From 512dac6b4e93d62e56ccda28803f07b308b6e407 Mon Sep 17 00:00:00 2001 From: fredlacs <32464905+fredlacs@users.noreply.github.com> Date: Fri, 10 Jun 2022 11:41:49 +0100 Subject: [PATCH] Cherrypicked dev deps --- .npmrc | 1 + package.json | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000000..c42da845b4 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict = true diff --git a/package.json b/package.json index d2e2b96343..117aaa35e3 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ }, "engines": { "node": ">=v11", - "yarn": ">=1 <2" + "npm": "please-use-yarn", + "yarn": ">= 1.0.0" }, "bugs": { "url": "https://github.com/offchainlabs/arbitrum-sdk/issues" @@ -20,7 +21,7 @@ "homepage": "https://offchainlabs.com", "scripts": { "audit:ci": "audit-ci -l -a 1067409 1067487 1067486", - "postinstall": "node ./scripts/genAbi.js", + "prepare": "yarn run gen:abi", "gen:abi": "node ./scripts/genAbi.js", "gen:network": "ts-node ./scripts/genNetwork.ts", "prepublishOnly": "yarn build && yarn format", @@ -51,13 +52,15 @@ "@typechain/ethers-v5": "9.0.0", "@types/prompts": "^2.0.14", "@types/yargs": "^17.0.9", - "arb-bridge-peripherals": "1.0.9", "dotenv": "^10.0.0", "ethers": "^5.1.0", "ts-node": "^10.2.1", "typechain": "7.0.0" }, "devDependencies": { + "arb-bridge-eth": "0.7.5", + "arb-bridge-peripherals": "1.0.6", + "arbos-precompiles": "1.0.2", "@nomiclabs/hardhat-ethers": "^2.0.4", "@types/chai": "^4.2.11", "@types/mocha": "^9.0.0",