@chainsafe/ssz
Version:
Simple Serialize
51 lines • 2.08 kB
JSON
{
"name": "@chainsafe/ssz",
"description": "Simple Serialize",
"license": "Apache-2.0",
"author": "ChainSafe Systems",
"homepage": "https://github.com/chainsafe/ssz",
"version": "1.2.1",
"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",
"prepublishOnly": "yarn build",
"benchmark": "node --loader=ts-node/esm --max-old-space-size=4096 --expose-gc ../../node_modules/.bin/benchmark 'test/perf/*.test.ts'",
"benchmark:local": "yarn benchmark --local",
"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/transpile-only test/spec/downloadTests.ts"
},
"dependencies": {
"@chainsafe/as-sha256": "1.2.0",
"@chainsafe/persistent-merkle-tree": "1.2.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"
]
}