UNPKG

@ethereum-sourcify/contract-call-decoder

Version:

Library to decode Ethereum smart contract calls into human-readable descriptions using ABI and NatSpec

95 lines (94 loc) 2.56 kB
{ "name": "@ethereum-sourcify/contract-call-decoder", "version": "0.2.12", "description": "Library to decode Ethereum smart contract calls into human-readable descriptions using ABI and NatSpec", "main": "build/main/index.js", "typings": "build/main/index.d.ts", "module": "build/module/index.js", "repository": "https://github.com/ethereum/sourcify/tree/master/packages/contract-call-decoder", "license": "MIT", "keywords": [ "sourcify", "ethereum", "call", "contract", "smart-contract", "metadata", "solidity", "ipfs" ], "scripts": { "build": "run-p build:*", "build:main": "tsc -p tsconfig.json", "build:module": "tsc -p tsconfig.module.json", "test": "run-s build test:*", "lint": "eslint src --ext .ts", "test:prettier": "prettier \"src/**/*.ts\" --list-different", "test:unit": "c8 --reporter=none ava", "watch:build": "tsc -p tsconfig.json -w", "watch:test": "c8 ava --watch", "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html", "cov:lcov": "c8 report --reporter=lcov", "cov:send-disabled": "run-s cov:lcov && codecov", "cov:check": "c8 report && c8 check-coverage --lines 100 --functions 100 --branches 100", "reset-hard": "git clean -dfx && git reset --hard && yarn", "prepare-release": "run-s reset-hard test cov:check" }, "engines": { "node": ">=10" }, "dependencies": { "@blossom-labs/rosette-radspec": "^0.2.1", "@ethereum-sourcify/bytecode-utils": "^1.2.8", "@ethersproject/abi": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", "@ethersproject/providers": "^5.7.2", "@ethersproject/transactions": "^5.7.0", "ethereum-provider": "^0.7.7", "isomorphic-fetch": "^3.0.0" }, "devDependencies": { "@ava/typescript": "^1.1.1", "ava": "^3.12.1", "c8": "^8.0.0", "codecov": "^3.5.0", "cz-conventional-changelog": "^3.3.0", "eth-provider": "^0.13.6", "npm-run-all": "^4.1.5", "prettier": "^2.1.1" }, "files": [ "build/main", "build/module", "!**/*.spec.*", "!**/*.json", "CHANGELOG.md", "LICENSE", "README.md" ], "ava": { "failFast": true, "timeout": "60s", "typescript": { "rewritePaths": { "src/": "build/main/" } }, "files": [ "!build/module/**" ] }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "prettier": { "singleQuote": true }, "c8": { "exclude": [ "**/*.spec.js" ] } }