From 7b016f8bc57e3a88c41895d1480ea23b9990c539 Mon Sep 17 00:00:00 2001 From: invocamanman Date: Wed, 21 Dec 2022 16:26:28 +0100 Subject: [PATCH] update package json --- .eslintrc.js | 1 + deployment/deployContracts.js | 2 +- package.json | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index c66a85029..a301d47bc 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -25,5 +25,6 @@ module.exports = { 'import/prefer-default-export': [0], 'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }], 'multiline-comment-style': 'error', + 'import/no-extraneous-dependencies': 'off' }, }; diff --git a/deployment/deployContracts.js b/deployment/deployContracts.js index 541051737..99158431b 100644 --- a/deployment/deployContracts.js +++ b/deployment/deployContracts.js @@ -15,7 +15,7 @@ const pathOZUpgradability = path.join(__dirname, `../.openzeppelin/${process.env async function main() { // Check that there0s no previous OZ deployment if (fs.existsSync(pathOZUpgradability)) { - throw new Error(`Theres upggradability information from previous deployments, it's mandatory to erase them before start a new one, path: ${pathOZUpgradability}`); + throw new Error(`There's upgradability information from previous deployments, it's mandatory to erase them before start a new one, path: ${pathOZUpgradability}`); } // Constant variables diff --git a/package.json b/package.json index a772cc425..afed44cdc 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,10 @@ "homepage": "https://github.com/0xPolygonHermez/contracts-zkEVM#readme", "license": "pending", "dependencies": { + "chai": "^4.3.4", + "ethers": "^5.5.1" + }, + "devDependencies": { "@0xpolygonhermez/zkevm-commonjs": "github:0xPolygonHermez/zkevm-commonjs#v0.6.0.0-rc.1", "@nomiclabs/hardhat-ethers": "^2.0.2", "@nomiclabs/hardhat-etherscan": "^3.1.0", @@ -38,14 +42,12 @@ "@openzeppelin/contracts-upgradeable": "^4.7.3", "@openzeppelin/hardhat-upgrades": "^1.20.0", "@openzeppelin/test-helpers": "^0.5.15", - "chai": "^4.3.4", "circomlibjs": "0.1.1", "dotenv": "^8.2.0", "eslint": "^8.3.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-mocha": "^9.0.0", "ethereum-waffle": "^3.4.4", - "ethers": "^5.5.1", "ffjavascript": "^0.2.39", "hardhat": "^2.11.1", "hardhat-gas-reporter": "^1.0.4",