From 3f2b1d8d5f7d344afe5f9f5d1da8f4399faf55eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20D=C3=ADaz?= Date: Thu, 1 Feb 2024 12:47:57 +0100 Subject: [PATCH] chore: revisit package scripts and dependencies --- package.json | 70 ++++++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/package.json b/package.json index 4a977900..bb2d81b3 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,18 @@ "name": "witnet-solidity-bridge", "version": "2.0.1", "description": "Witnet Solidity Bridge contracts for EVM-compatible chains", - "main": "", + "author": "Witnet Foundation ", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/witnet/witnet-solidity-bridge.git" + }, "type": "commonjs", + "keywords": [ + "bridge", + "witnet", + "ethereum" + ], "export": { ".": "./index.js" }, @@ -34,46 +44,36 @@ "fmt": "npm run fmt:js && npm run fmt:sol", "migrate": "node ./scripts/migrate.js 2>&1", "networks": "node ./scripts/networks.js 2>&1", - "ops:rng:sla": "truffle migrate --migrations_directory ./migrations/ops/rng/sla --network", - "test": "npm run clean && truffle test" - }, - "author": "Witnet Foundation ", - "repository": { - "type": "git", - "url": "https://github.com/witnet/witnet-solidity-bridge.git" - }, - "keywords": [ - "bridge", - "witnet", - "ethereum" - ], - "license": "MIT", - "dependencies": { - "@openzeppelin/contracts": "4.8.0", - "@openzeppelin/contracts-upgradeable": "4.8.0", - "ado-contracts": "1.0.0", - "lodash": "4.17.21" + "ops:rng:sla": "npx truffle migrate --migrations_directory ./migrations/ops/rng/sla --network", + "prepare": "npx truffle compile --all", + "test": "npm run clean && npx truffle test" }, "devDependencies": { + "@openzeppelin/contracts": "^5.0.1", + "@openzeppelin/contracts-upgradeable": "^5.0.1", "@openzeppelin/test-helpers": "~0.5.16", - "chai": "4.3.6", + "ado-contracts": "1.0.0", + "bn.js": "^4.11.0", + "chai": "^5.0.3", "custom-error-test-helper": "^1.0.6", - "dotenv": "8.2.0", - "eslint": "~8.31.0", - "eslint-config-standard": "~17.0.0", - "eslint-plugin-import": "~2.26.0", + "dotenv": "^16.4.1", + "eslint": "^8.56.0", + "eslint-config-standard": "^17.1.0", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "~15.6.0", - "eslint-plugin-promise": "~6.1.1", + "eslint-plugin-promise": "^6.1.1", + "eth-gas-reporter": "^0.2.27", "eth-helpers": "^1.3.0", - "eth-gas-reporter": "0.2.25", - "js-sha256": "0.9.0", + "hardhat": "^2.19.4", + "js-sha256": "^0.11.0", + "lodash": "^4.17.21", "nanoassert": "^2.0.0", - "sha3-wasm": "0.0.7", - "solhint": "3.3.7", - "solidity-coverage": "0.7.16", - "truffle": "~5.11.5", - "truffle-assertions": "0.9.2", - "truffle-flattener": "~1.6.0", - "truffle-plugin-verify": "~0.6.2" + "sha3-wasm": "^1.0.0", + "solhint": "^4.1.1", + "solidity-coverage": "^0.8.6", + "truffle": "^5.11.5", + "truffle-flattener": "^1.6.0", + "typescript": "latest", + "web3": "^4.4.0" } }