UNPKG

@ethereumjs/blockchain

Version:
69 lines (68 loc) 2.68 kB
{ "name": "@ethereumjs/blockchain", "version": "10.0.0", "description": "A module to store and interact with blocks", "keywords": ["ethereum", "blockchain"], "homepage": "https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/blockchain#readme", "bugs": { "url": "https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+blockchain%22" }, "repository": { "type": "git", "url": "https://github.com/ethereumjs/ethereumjs-monorepo.git" }, "license": "MPL-2.0", "author": "mjbecze <mjbecze@gmail.com>", "type": "module", "sideEffects": false, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "exports": { ".": { "import": { "typescript": "./src/index.ts", "default": "./dist/esm/index.js" }, "require": "./dist/cjs/index.js" } }, "files": ["dist", "src"], "scripts": { "biome": "npx @biomejs/biome check", "biome:fix": "npx @biomejs/biome check --write", "build": "../../config/cli/ts-build.sh", "clean": "../../config/cli/clean-package.sh", "coverage": "DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.mts", "coverage:istanbul": "DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.istanbul.mts", "docs:build": "typedoc --options typedoc.mjs", "examples": "tsx ../../scripts/examples-runner.ts -- blockchain", "examples:build": "npx embedme README.md", "lint": "npm run biome && eslint --config ./eslint.config.mjs .", "lint:fix": "npm run biome:fix && eslint --fix --config ./eslint.config.mjs .", "prepublishOnly": "../../config/cli/prepublish.sh", "sc": "npm run spellcheck", "spellcheck": "npm run spellcheck:ts && npm run spellcheck:md", "spellcheck:ts": "npx cspell --gitignore -c ../../config/cspell-ts.json \"./**/*.ts\" --cache --show-suggestions --show-context", "spellcheck:md": "npx cspell --gitignore -c ../../config/cspell-md.json \"**.md\" --cache --show-suggestions --show-context", "test": "npm run test:node && npm run test:browser", "test:browser": "npx vitest run --config=./vitest.config.browser.mts", "test:node": "npx vitest run -c ../../config/vitest.config.mts", "tsc": "../../config/cli/ts-compile.sh" }, "dependencies": { "@ethereumjs/block": "^10.0.0", "@ethereumjs/common": "^10.0.0", "@ethereumjs/mpt": "^10.0.0", "@ethereumjs/rlp": "^10.0.0", "@ethereumjs/util": "^10.0.0", "debug": "^4.4.0", "eventemitter3": "^5.0.1", "lru-cache": "11.0.2" }, "devDependencies": { "@ethereumjs/ethash": "^10.0.0" }, "engines": { "node": ">=18" } }