0g-chain/contracts/package.json

40 lines
1.5 KiB
JSON
Raw Permalink Normal View History

{
2024-04-24 11:41:25 +00:00
"name": "0g-chain-contracts",
"version": "0.0.1",
2024-04-24 11:41:25 +00:00
"author": "0g Labs",
"private": true,
2024-04-24 11:41:25 +00:00
"description": "Solidity contracts for 0g Blockchain",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run clean && npm run compile && npm run ethermint-json",
"clean": "hardhat clean",
"compile": "hardhat compile",
"coverage": "hardhat coverage",
2024-04-24 11:41:25 +00:00
"ethermint-json": "jq '{ abi: .abi | tostring, bin: .bytecode | ltrimstr(\"0x\")}' artifacts/contracts/ERC200gChainWrappedCosmosCoin.sol/ERC200gChainWrappedCosmosCoin.json > ../x/evmutil/types/ethermint_json/ERC200gChainWrappedCosmosCoin.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": "^2.0.2",
"@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.14.0",
"prettier": "2.8.8",
"prettier-plugin-solidity": "^1.1.3",
"solhint": "^3.4.1",
"typescript": "^5.0.4"
}
}