From f12e7c2e383f0f3d0269d047322b8ddcc9518cba Mon Sep 17 00:00:00 2001 From: Sarah Mackey Date: Wed, 12 Jan 2022 18:09:08 -0800 Subject: [PATCH] Update package-lock.json --- package.json | 64 +++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index e385b01b..b7617de6 100644 --- a/package.json +++ b/package.json @@ -4,20 +4,19 @@ "description": "", "scripts": { "solhint": "npx solhint -f table contracts/*.sol contracts/**/*.sol contracts/**/**/*.sol", - "spell-check": "npx cspell ./**/**/**.sol --gitignore && npx cspell ./**/**/**.ts --gitignore", + "spell-check": "npx cspell ./**/**/**.sol && npx cspell ./**/**/**.ts", "style-check": "npx prettier --check .", "prettier": "npx prettier --write .", "lint": "npm run solhint & npm run style-check & npm run spell-check", - "build": "npx hardhat compile", - "test": "npx hardhat compile && npx hardhat test --config hardhat.config.test.ts ./test/*.ts", - "typecheck": "npx hardhat compile && npx tsc --noEmit -p tsconfig.json", + "build": "npx hardhat compile && rm ./typechain/index.ts", + "test": "npx hardhat compile && rm ./typechain/index.ts && npx hardhat test --config hardhat.config.test.ts ./test/*.ts", "sim": "sh scripts/load-sim-data.sh && npx hardhat test --config hardhat.config.test.ts ./test/simulation/*.ts", - "coverage": "COVERAGE=true NODE_OPTIONS=--max_old_space_size=8192 npx hardhat coverage --solcoverjs \".solcover.js\" --testfiles \"./test/*.ts\"", - "test:quick": "npx hardhat test --config hardhat.config.test.ts ./test/*.ts --no-compile", + "coverage": "COVERAGE=true npx hardhat coverage --solcoverjs \".solcover.js\" --testfiles \"./test/*.ts\"", "test:quick": "npx hardhat test --config hardhat.config.test.ts ./test/*.ts --no-compile", "load-contracts": "sh scripts/load-balancer-contracts.sh" }, "_moduleAliases": { - "test": "./test" + "test": "./test", + "typechain": "./typechain" }, "husky": { "hooks": { @@ -37,42 +36,41 @@ "author": "", "license": "ISC", "devDependencies": { - "@nomiclabs/hardhat-ethers": "^2.0.2", + "@nomiclabs/hardhat-ethers": "^2.0.1", "@nomiclabs/hardhat-waffle": "^2.0.1", - "@typechain/ethers-v5": "^8.0.2", + "@typechain/ethers-v5": "^5.0.0", "@typechain/hardhat": "^3.0.0", "@types/chai-almost": "^1.0.1", - "@types/mocha": "^8.2.3", - "@types/node": "^14.17.32", - "@typescript-eslint/eslint-plugin": "^4.33.0", - "@typescript-eslint/parser": "^4.33.0", - "chai": "^4.3.4", + "@types/mocha": "^8.2.0", + "@types/node": "^14.14.25", + "@typescript-eslint/eslint-plugin": "^4.15.2", + "@typescript-eslint/parser": "^4.15.2", + "chai": "^4.2.0", "chai-almost": "^1.0.1", - "coveralls": "^3.1.1", - "cspell": "^5.12.6", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", - "ethereum-waffle": "^3.4.0", - "ethers": "^5.5.1", - "hardhat": "^2.6.7", + "coveralls": "^3.1.0", + "cspell": "^5.2.3", + "eslint": "^7.20.0", + "eslint-config-prettier": "^8.1.0", + "ethereum-waffle": "^3.2.2", + "ethers": "^5.0.29", + "hardhat": "^2.1.2", "hardhat-gas-reporter": "^1.0.4", - "hardhat-tracer": "^1.0.0-alpha.6", - "husky": "^4.3.8", + "hardhat-typechain": "^0.3.4", + "husky": "^4.3.0", "lint-staged": "^10.5.4", - "prettier": "^2.4.1", - "prettier-plugin-solidity": "^1.0.0-beta.18", - "solhint": "^3.3.6", + "prettier": "^2.2.1", + "prettier-plugin-solidity": "^1.0.0-alpha.58", + "solhint": "^3.2.1", "solhint-plugin-prettier": "0.0.5", - "solidity-coverage": "^0.7.17", + "solidity-coverage": "^0.7.16", "ts-generator": "^0.1.1", - "ts-node": "^10.4.0", - "tsconfig-paths": "^3.11.0", - "typechain": "^6.0.2", - "typescript": "^4.4.4" + "ts-node": "^9.1.1", + "typechain": "^4.0.1", + "typescript": "^4.1.3" }, "dependencies": { - "@openzeppelin/contracts": "^4.3.2", - "ethereumjs-util": "^7.1.3", + "@openzeppelin/contracts": "^3.4.0", + "ethereumjs-util": "^6.2.1", "module-alias": "^2.2.2" } }