UNPKG

@chainsafe/swap-or-not-shuffle

Version:
83 lines 2.58 kB
{ "name": "@chainsafe/swap-or-not-shuffle", "version": "1.2.1", "scripts": { "artifacts": "napi artifacts", "build": "napi build --platform --release --strip --esm", "build:debug": "napi build --platform --esm", "prepublishOnly": "napi prepublish -t npm", "test": "yarn test:unit && yarn test:perf", "test:unit": "vitest --run --dir test/unit", "test:perf": "yarn test:perf:files test/perf/*.test.ts", "test:perf:files": "NODE_OPTIONS='--max-old-space-size=4096 --loader=ts-node/esm' benchmark --config .benchrc.yaml --defaultBranch main", "lint": "biome check", "version": "napi version" }, "type": "module", "exports": "./index.js", "types": "index.d.ts", "napi": { "binaryName": "swap-or-not-shuffle", "targets": [ "aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl" ] }, "license": "MIT", "devDependencies": { "@biomejs/biome": "^1.9.4", "@chainsafe/as-sha256": "^0.5.0", "@chainsafe/benchmark": "^1.2.3", "@lodestar/params": "^1.27.0", "@lodestar/state-transition": "^1.27.0", "@lodestar/utils": "^1.27.0", "@napi-rs/cli": "^3.0.0-alpha.70", "@types/node": "^22.13.2", "bigint-buffer": "^1.1.5", "prettier": "^3.3.2", "ts-node": "^10.9.2", "typescript": "^5.5.3", "vitest": "^3.0.5" }, "resolutions": { "@chainsafe/pubkey-index-map": "npm:@chainsafe/pubkey-index-map@3.0.0", "rollup": "npm:@rollup/wasm-node@*" }, "engines": { "node": ">= 18" }, "keywords": [ "ethereum", "eth2", "consensus-spec", "swap-or-not-shuffle", "swap-or-not", "shuffling", "shuffle", "napi-rs", "rust", "lodestar", "ChainSafe" ], "repository": { "type": "git", "url": "https://github.com/ChainSafe/swap-or-not-shuffle" }, "packageManager": "yarn@4.6.0", "optionalDependencies": { "@chainsafe/swap-or-not-shuffle-darwin-arm64": "1.2.1", "@chainsafe/swap-or-not-shuffle-linux-arm64-gnu": "1.2.1", "@chainsafe/swap-or-not-shuffle-linux-arm64-musl": "1.2.1", "@chainsafe/swap-or-not-shuffle-win32-arm64-msvc": "1.2.1", "@chainsafe/swap-or-not-shuffle-darwin-x64": "1.2.1", "@chainsafe/swap-or-not-shuffle-win32-x64-msvc": "1.2.1", "@chainsafe/swap-or-not-shuffle-linux-x64-gnu": "1.2.1", "@chainsafe/swap-or-not-shuffle-linux-x64-musl": "1.2.1" } }