UNPKG

@metamask/abi-utils

Version:

Lightweight utilities for encoding and decoding Solidity ABI

95 lines 3.19 kB
{ "name": "@metamask/abi-utils", "version": "3.0.0", "description": "Lightweight utilities for encoding and decoding Solidity ABI", "keywords": [ "ethereum", "abi", "solidity", "input-data", "parser", "encoder", "decoder" ], "homepage": "https://github.com/MetaMask/abi-utils#readme", "bugs": { "url": "https://github.com/MetaMask/abi-utils/issues" }, "repository": { "type": "git", "url": "https://github.com/MetaMask/abi-utils.git" }, "license": "(Apache-2.0 AND MIT)", "author": "Maarten Zuidhoorn <maarten@zuidhoorn.com>", "sideEffects": false, "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist/" ], "scripts": { "build": "tsc --project tsconfig.build.json", "build:clean": "rimraf dist && yarn build", "build:docs": "typedoc", "docs:publish": "typedoc --cleanOutputDir false --gitRevision \"v$(jq -r .version < ./package.json)\"", "lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog && yarn lint:constraints", "lint:changelog": "auto-changelog validate", "lint:constraints": "yarn constraints", "lint:dependencies": "depcheck && yarn dedupe", "lint:eslint": "eslint . --cache --ext js,ts", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write && yarn lint:dependencies && yarn lint:changelog && yarn lint:constraints --fix", "lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern", "prepack": "./scripts/prepack.sh", "test": "jest && jest-it-up", "test:watch": "jest --watch" }, "dependencies": { "@metamask/superstruct": "^3.1.0", "@metamask/utils": "^11.0.1" }, "devDependencies": { "@lavamoat/allow-scripts": "^2.3.1", "@lavamoat/preinstall-always-fail": "^1.0.0", "@metamask/auto-changelog": "^3.1.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", "@metamask/eslint-config-typescript": "^12.1.0", "@noble/hashes": "^1.3.1", "@types/jest": "^28.1.6", "@types/node": "^16.8.38", "@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/parser": "^5.43.0", "depcheck": "^1.4.3", "eslint": "^8.27.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "~2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^39.6.2", "eslint-plugin-n": "^15.7.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.6.1", "jest-it-up": "^2.2.0", "prettier": "^2.7.1", "prettier-plugin-packagejson": "^2.3.0", "rimraf": "^3.0.2", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typedoc": "^0.23.15", "typescript": "~4.8.4" }, "packageManager": "yarn@3.2.3", "engines": { "node": "^18.18 || ^20.14 || >=22" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "lavamoat": { "allowScripts": { "@lavamoat/preinstall-always-fail": false } } }