2023-05-19 23:39:50 +00:00
|
|
|
{
|
|
|
|
"name": "kava-contracts",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"author": "Kava Labs",
|
|
|
|
"private": true,
|
|
|
|
"description": "Solidity contracts for Kava Blockchain",
|
|
|
|
"engines": {
|
2024-08-20 18:50:03 +00:00
|
|
|
"node": ">=20.0.0"
|
2023-05-19 23:39:50 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "npm run clean && npm run compile && npm run ethermint-json",
|
|
|
|
"clean": "hardhat clean",
|
|
|
|
"compile": "hardhat compile",
|
|
|
|
"coverage": "hardhat coverage",
|
2023-05-23 19:32:27 +00:00
|
|
|
"ethermint-json": "jq '{ abi: .abi | tostring, bin: .bytecode | ltrimstr(\"0x\")}' artifacts/contracts/ERC20KavaWrappedCosmosCoin.sol/ERC20KavaWrappedCosmosCoin.json > ../x/evmutil/types/ethermint_json/ERC20KavaWrappedCosmosCoin.json",
|
2023-05-19 23:39:50 +00:00
|
|
|
"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": {
|
2024-08-20 18:50:03 +00:00
|
|
|
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
|
2023-05-19 23:39:50 +00:00
|
|
|
"@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",
|
2024-08-20 18:50:03 +00:00
|
|
|
"hardhat": "^2.22.8",
|
2023-05-19 23:39:50 +00:00
|
|
|
"prettier": "2.8.8",
|
|
|
|
"prettier-plugin-solidity": "^1.1.3",
|
|
|
|
"solhint": "^3.4.1",
|
|
|
|
"typescript": "^5.0.4"
|
|
|
|
}
|
|
|
|
}
|