UNPKG

@chainsafe/ssz-type-schema

Version:

Utility methods and types for describing an ssz object

58 lines (57 loc) 1.68 kB
{ "name": "@chainsafe/ssz-type-schema", "description": "Utility methods and types for describing an ssz object", "license": "Apache-2.0", "author": "ChainSafe Systems", "homepage": "https://github.com/ChainSafe/lodestar#readme", "repository": { "type": "git", "url": "git+https://github.com:ChainSafe/lodestar.git" }, "bugs": { "url": "https://github.com/ChainSafe/lodestar/issues" }, "version": "0.0.2", "main": "lib/index.js", "files": [ "lib/**/*.d.ts", "lib/**/*.js", "lib/**/*.js.map" ], "scripts": { "build": "yarn build:lib && yarn build:types", "build:docs": "typedoc --exclude src/index.ts --out docs src", "build:lib": "babel src -x .ts -d lib --source-maps", "build:release": "yarn clean && yarn run build && yarn run build:docs", "build:types": "tsc --incremental --declaration --outDir lib --emitDeclarationOnly", "check-types": "tsc --noEmit --incremental", "clean": "rm -rf lib && rm -f tsconfig.tsbuildinfo", "lint": "eslint --color --ext .ts src/", "lint:fix": "eslint --color --ext .ts src/ --fix", "prepublishOnly": "yarn build", "pretest": "yarn run check-types", "test:unit": "mocha --colors -r ts-node/register 'test/**/*.test.ts'" }, "types": "lib/index.d.ts", "dependencies": { "@chainsafe/bit-utils": "0.1.6", "@types/bn.js": "^4.11.5", "assert": "^2.0.0", "bn.js": "^4.11.8" }, "devDependencies": { "@types/chai": "^4.1.7", "@types/mocha": "^5.2.7", "chai": "^4.2.0", "mocha": "^6.2.0" }, "keywords": [ "beacon", "blockchain", "eth2.0", "ethereum", "serialize", "simple", "ssz" ] }