UNPKG

@chainsafe/ssz

Version:

Simple Serialize

56 lines (55 loc) 2.27 kB
{ "name": "@chainsafe/ssz", "description": "Simple Serialize", "license": "Apache-2.0", "author": "ChainSafe Systems", "homepage": "https://github.com/chainsafe/ssz", "version": "1.2.0", "type": "module", "main": "./lib/index.js", "types": "./lib/index.d.ts", "files": [ "lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map" ], "scripts": { "build": "tsc -p tsconfig.build.json", "build-web": "webpack --mode production --entry ./lib/esm/web.js --output ./dist/ssz.min.js", "build:docs": "typedoc --exclude src/index.ts,src/web.ts --out docs src", "build:release": "yarn clean && yarn build && yarn build-web && yarn run build:docs", "check-types": "tsc --noEmit", "clean": "rm -rf lib && rm -rf dist && rm -f tsconfig.tsbuildinfo", "lint": "eslint --color --ext .ts src/ test/", "lint:fix": "yarn run lint --fix", "prepublishOnly": "yarn build", "benchmark": "node --max-old-space-size=4096 --expose-gc ../../node_modules/.bin/benchmark 'test/perf/*.test.ts'", "benchmark:local": "yarn benchmark --local", "test:perf": "node --loader=ts-node/esm' benchmark 'test/perf/**/*.test.ts'", "test:unit": "vitest run --dir test/unit", "test:spec": "yarn test:spec-generic && yarn test:spec-static test:spec-eip-4881", "test:spec-generic": "vitest run --dir test/spec/generic", "test:spec-static": "yarn test:spec-static-minimal && yarn test:spec-static-mainnet", "test:spec-static-minimal": "LODESTAR_PRESET=minimal vitest run --dir test/spec/ test/spec/ssz_static.test.ts", "test:spec-static-mainnet": "LODESTAR_PRESET=mainnet vitest run --dir test/spec/ test/spec/ssz_static.test.ts", "test:spec-eip-4881": "vitest run --dir test/spec/ test/spec/eip-4881/**/*.test.ts", "download-spec-tests": "node --loader ts-node/esm test/spec/downloadTests.ts" }, "dependencies": { "@chainsafe/as-sha256": "1.1.0", "@chainsafe/persistent-merkle-tree": "1.1.0" }, "devDependencies": { "@lodestar/spec-test-util": "^1.23.1", "@types/js-yaml": "^4.0.5", "js-yaml": "^3.13.1", "snappyjs": "^0.6.1" }, "keywords": [ "ethereum", "serenity", "simple serialize", "ssz" ], "gitHead": "1ab49adcb3961a2e25c5d18dab656230e2146889" }