UNPKG

@ocap/util

Version:

utils shared across multiple forge js libs, works in both node.js and browser

85 lines (84 loc) 1.97 kB
{ "name": "@ocap/util", "version": "1.30.24", "type": "module", "description": "utils shared across multiple forge js libs, works in both node.js and browser", "keywords": [ "arcblock", "browser", "sdk" ], "publishConfig": { "access": "public" }, "dependencies": { "@ocap/types": "1.30.24", "@types/bn.js": "^5.2.0", "base64-url": "^2.3.3", "bn.js": "5.2.3", "bs58": "^5.0.0", "ipaddr.js": "^2.1.0", "utf8": "^3.0.0" }, "resolutions": { "elliptic": "6.5.3" }, "devDependencies": { "@types/base64-url": "^2.2.2", "@types/node": "^22.7.5", "@types/utf8": "^3.0.3", "tsdown": "^0.18.4", "type-fest": "^3.1.0" }, "author": { "name": "wangshijun", "email": "shijun@arcblock.io", "url": "https://github.com/wangshijun" }, "contributors": [ "wangshijun <shijun@arcblock.io> (https://github.com/wangshijun)" ], "homepage": "https://www.arcblock.io/docs/blockchain-utils", "license": "Apache-2.0", "main": "./lib/index.cjs", "sideEffects": false, "module": "./esm/index.mjs", "types": "./esm/index.d.mts", "exports": { ".": { "types": "./esm/index.d.mts", "import": "./esm/index.mjs", "default": "./lib/index.cjs" }, "./lib/*.js": { "types": "./esm/*.d.mts", "import": "./esm/*.mjs", "default": "./lib/*.cjs" }, "./lib/*": { "types": "./esm/*.d.mts", "import": "./esm/*.mjs", "default": "./lib/*.cjs" } }, "files": [ "lib", "esm" ], "repository": { "type": "git", "url": "git+https://github.com/ArcBlock/blockchain.git" }, "scripts": { "lint": "biome check", "lint:fix": "biome check --write", "test": "bun test", "coverage": "npm run test -- --coverage", "build": "tsdown", "build:watch": "tsdown -w", "clean": "rm -rf lib esm" }, "bugs": { "url": "https://github.com/ArcBlock/blockchain/issues" } }