@ordao/ethers-decode-error
Version:
Decode ethers.js smart contract errors into human-readable messages
93 lines (92 loc) • 2.68 kB
JSON
{
"name": "@ordao/ethers-decode-error",
"description": "Decode ethers.js smart contract errors into human-readable messages",
"version": "1.2.2",
"contributors": [
"superical https://github.com/superical",
"sim31"
],
"repository": {
"type": "git",
"url": "git+https://github.com/sim31/ordao.git",
"directory": "libs/ethers-decode-error"
},
"license": "Apache-2.0",
"files": [
"dist"
],
"type": "commonjs",
"source": "src/index.ts",
"exports": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"types": "dist/index.d.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"umd:main": "dist/index.umd.js",
"engines": {
"node": ">=16"
},
"peerDependencies": {
"ethers": "^6.0.0"
},
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.8",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "~5.59",
"@typescript-eslint/parser": "~5.59",
"chai": "^4.4.1",
"eslint": "~8.38",
"eslint-config-prettier": "~8.8",
"ethers": "^6.10.0",
"hardhat": "^2.19.4",
"microbundle": "^0.15.1",
"prettier": "~2.8",
"rimraf": "~5.0",
"semantic-release": "^23.0.0",
"sinon": "^17.0.1",
"ts-api-utils": "~0.0.44",
"ts-node": "^10.9.2",
"typescript": "~5.0"
},
"scripts": {
"start": "node build/src/main.js",
"clean": "rimraf dist",
"export-version": "node -p \"'export const PACKAGE_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"prebuild": "npm run export-version && npm run lint",
"build": "npm run clean && microbundle src/*.ts --tsconfig tsconfig.release.json",
"build-clean": "npm run clean && npm run build",
"prepack": "npm run build-clean",
"build:watch": "tsc -w -p tsconfig.json",
"lint": "eslint . --ext .ts --ext .mts",
"test": "hardhat test",
"prettier": "prettier --config .prettierrc --write .",
"semantic-release:dry-run": "semantic-release --dry-run --no-ci --plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"blockchain",
"ethers",
"ethereum",
"smart-contracts",
"solidity",
"typescript",
"typechain",
"errors",
"decode-error",
"ethers-decode-error",
"ethers.js",
"ethersjs",
"rpc-error",
"json-rpc"
],
"gitHead": "59c3c883248b654a5a4598b935b18ff19994cba4"
}