mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
8023be0067
* chore(nodejs): Use active LTS v20 for nodejs This updates nodejs to use the active LTS v20 from the maintenance LTS v18. This expands compatibility with packages, adds native support for more features, etc. In addition, the ci-seed-chain workflow was updated to use the .tool-version file instead of hardcoded version. * chore(hardhat): Update hardhat for nodejs 20 support
40 lines
1.5 KiB
JSON
40 lines
1.5 KiB
JSON
{
|
|
"name": "kava-contracts",
|
|
"version": "0.0.1",
|
|
"author": "Kava Labs",
|
|
"private": true,
|
|
"description": "Solidity contracts for Kava Blockchain",
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clean && npm run compile && npm run ethermint-json",
|
|
"clean": "hardhat clean",
|
|
"compile": "hardhat compile",
|
|
"coverage": "hardhat coverage",
|
|
"ethermint-json": "jq '{ abi: .abi | tostring, bin: .bytecode | ltrimstr(\"0x\")}' artifacts/contracts/ERC20KavaWrappedCosmosCoin.sol/ERC20KavaWrappedCosmosCoin.json > ../x/evmutil/types/ethermint_json/ERC20KavaWrappedCosmosCoin.json",
|
|
"gen-ts-types": "hardhat typechain",
|
|
"lint": "eslint '**/*.{js,ts}'",
|
|
"lint-fix": "eslint '**/*.{js,ts}' --fix",
|
|
"prettier": "prettier '**/*.{json,sol,md}' --check",
|
|
"prettier-fix": "prettier '**/*.{json,sol,md}' --write",
|
|
"solhint": "solhint 'contracts/**/*.sol' --max-warnings 0",
|
|
"solhint-fix": "solhint 'contracts/**/*.sol' --fix",
|
|
"test": "hardhat test"
|
|
},
|
|
"devDependencies": {
|
|
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
|
|
"@openzeppelin/contracts": "4.8.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
"@typescript-eslint/parser": "^5.59.6",
|
|
"eslint": "^8.40.0",
|
|
"eslint-config-prettier": "8.8.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"hardhat": "^2.22.8",
|
|
"prettier": "2.8.8",
|
|
"prettier-plugin-solidity": "^1.1.3",
|
|
"solhint": "^3.4.1",
|
|
"typescript": "^5.0.4"
|
|
}
|
|
}
|