@chainsafe/ssz
Version:
Simple Serialize
60 lines • 2.37 kB
JSON
{
"name": "@chainsafe/ssz",
"description": "Simple Serialize",
"license": "Apache-2.0",
"author": "ChainSafe Systems",
"bugs": {
"url": "https://github.com/ChainSafe/ssz/issues"
},
"homepage": "https://github.com/ChainSafe/ssz/tree/master/packages/ssz/#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ChainSafe/ssz.git",
"directory": "packages/ssz"
},
"version": "1.6.0",
"type": "module",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib/**/*.d.ts",
"lib/**/*.js",
"lib/**/*.js.map"
],
"dependencies": {
"@chainsafe/as-sha256": "",
"@chainsafe/persistent-merkle-tree": ""
},
"devDependencies": {
"@lodestar/spec-test-util": "^1.42.0",
"@chainsafe/persistent-ts": "",
"@types/js-yaml": "^4.0.5",
"js-yaml": "^4.1.0",
"snappyjs": "^0.6.1"
},
"keywords": [
"ethereum",
"serenity",
"simple serialize",
"ssz"
],
"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": "pnpm clean && pnpm build && pnpm build-web && pnpm run build:docs",
"check-types": "tsc --noEmit",
"clean": "rm -rf lib && rm -rf dist && rm -f tsconfig.tsbuildinfo",
"benchmark": "pnpm benchmark:files 'test/perf/*.test.ts'",
"benchmark:files": "node --loader=ts-node/esm --max-old-space-size=4096 --expose-gc ../../node_modules/.bin/benchmark",
"benchmark:local": "pnpm benchmark --local",
"test:unit": "vitest run --dir test/unit",
"test:spec": "pnpm test:spec-generic && pnpm test:spec-static test:spec-eip-4881",
"test:spec-generic": "vitest run --coverage.enabled=false --dir test/spec/generic",
"test:spec-static": "pnpm test:spec-static-minimal && pnpm 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"
}
}