@hyperlane-xyz/utils
Version:
General utilities and types for the Hyperlane network
106 lines • 2.69 kB
JSON
{
"name": "@hyperlane-xyz/utils",
"version": "27.0.0",
"description": "General utilities and types for the Hyperlane network",
"keywords": [
"Hyperlane",
"Typescript",
"Utilities"
],
"homepage": "https://www.hyperlane.xyz",
"license": "Apache-2.0",
"repository": "https://github.com/hyperlane-xyz/hyperlane-monorepo",
"files": [
"/dist"
],
"type": "module",
"sideEffects": false,
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"fs": [
"./dist/fs/index.d.ts"
],
"anvil": [
"./dist/anvil/index.d.ts"
],
"eslint-rules": [
"./dist/eslint-rules/index.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./fs": {
"types": "./dist/fs/index.d.ts",
"default": "./dist/fs/index.js"
},
"./eslint-rules": {
"types": "./dist/eslint-rules/index.d.ts",
"default": "./dist/eslint-rules/index.js"
}
},
"dependencies": {
"@cosmjs/encoding": "^0.32.4",
"@ethersproject/bytes": "*",
"@ethersproject/units": "*",
"@solana/web3.js": "^1.98.4",
"bech32": "^2.0.0",
"bignumber.js": "^9.1.1",
"bs58": "^6.0.0",
"ethers": "^5.8.0",
"lodash-es": "^4.17.21",
"pino": "^8.19.0",
"starknet": "^7.4.0",
"yaml": "2.4.5"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/bs58": "^5.0.0",
"@types/lodash-es": "^4.17.12",
"@types/mocha": "^10.0.1",
"@types/sinon": "^17.0.1",
"@types/sinon-chai": "^3.2.12",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"chai": "^4.5.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-yml": "^1.19.1",
"mocha": "^11.5.0",
"sinon": "^13.0.2",
"typescript": "5.8.3",
"yaml-eslint-parser": "^1.3.0",
"@hyperlane-xyz/tsconfig": "^27.0.0"
},
"peerDependencies": {
"@google-cloud/pino-logging-gcp-config": "^1.3.0",
"pino-pretty": "^13.0.0"
},
"peerDependenciesMeta": {
"@google-cloud/pino-logging-gcp-config": {
"optional": true
},
"pino-pretty": {
"optional": true
}
},
"engines": {
"node": ">=16"
},
"scripts": {
"dev": "tsc -w",
"build": "tsc --excludeFiles \"**/*.test.ts\"",
"clean": "rm -rf ./dist",
"check": "tsc --noEmit",
"lint": "eslint -c ./eslint.config.mjs",
"format": "oxfmt --write ./src",
"test": "mocha --config .mocharc.json './src/**/*.test.ts'",
"test:ci": "pnpm test"
}
}