UNPKG

@aggris2/ssz

Version:

Simple Serialize

54 lines (53 loc) 2.04 kB
{ "name": "@aggris2/ssz", "description": "Simple Serialize", "license": "Apache-2.0", "author": "ChainSafe Systems", "homepage": "https://github.com/chainsafe/ssz", "version": "0.10.0", "main": "lib/index.js", "files": [ "lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map" ], "scripts": { "build": "tsc -p tsconfig.build.json", "build-web": "webpack --mode production --entry ./lib/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 run 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", "test": "yarn test:unit", "benchmark": "node --max-old-space-size=4096 --expose-gc ../../node_modules/.bin/benchmark 'test/perf/*.test.ts'", "benchmark:local": "yarn benchmark --local", "test:perf": "mocha \"test/perf/**/*.test.ts\"", "test:unit": "nyc mocha \"test/unit/**/*.test.ts\"", "test:spec": "yarn test:spec-generic && yarn test:spec-static", "test:spec-generic": "mocha \"test/spec/generic/**/*.test.ts\"", "test:spec-static": "yarn test:spec-static-minimal && yarn test:spec-static-mainnet", "test:spec-static-minimal": "LODESTAR_PRESET=minimal mocha test/spec/ssz_static.test.ts", "test:spec-static-mainnet": "LODESTAR_PRESET=mainnet mocha test/spec/ssz_static.test.ts", "download-spec-tests": "node -r ts-node/register test/spec/downloadTests.ts" }, "types": "lib/index.d.ts", "dependencies": { "@chainsafe/as-sha256": "^0.3.2", "@chainsafe/persistent-merkle-tree": "^0.4.3", "case": "^1.6.3" }, "devDependencies": { "@types/js-yaml": "^4.0.5", "js-yaml": "^3.13.1", "snappyjs": "^0.6.1" }, "keywords": [ "ethereum", "serenity", "simple serialize", "ssz" ] }