76 lines
2.5 KiB
JSON
76 lines
2.5 KiB
JSON
{
|
|
"name": "@chainsafe/bls",
|
|
"version": "0.1.6",
|
|
"description": "Implementation of bls signature verification for ethereum 2.0",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"homepage": "https://github.com/chainsafe/lodestar",
|
|
"author": "ChainSafe Systems",
|
|
"license": "Apache-2.0",
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"keywords": [
|
|
"ethereum",
|
|
"serenity",
|
|
"signature verification",
|
|
"bls"
|
|
],
|
|
"scripts": {
|
|
"prebuild": "rm -rf lib && rm -rf dist",
|
|
"build": "yarn build-lib && yarn build-web && yarn build-types",
|
|
"build-lib": "babel src -x .ts -d lib",
|
|
"build-types": "tsc --declaration --outDir lib --emitDeclarationOnly",
|
|
"build-web": "webpack --mode production --entry ./lib/web.js --output ./dist/bls.min.js",
|
|
"check-types": "tsc --noEmit",
|
|
"lint": "eslint --ext .ts src/",
|
|
"lint-fix": "eslint --ext .ts src/ --fix",
|
|
"pretest": "yarn check-types",
|
|
"prepublishOnly": "yarn build",
|
|
"test:unit": "nyc --cache-dir .nyc_output/.cache -r lcov -e .ts mocha -r ./.babel-register 'test/unit/**/*.test.ts' && nyc report",
|
|
"test:spec": "mocha -r ./.babel-register 'test/spec/**/*.test.ts'",
|
|
"test": "yarn test:unit && yarn test:spec",
|
|
"coverage": "codecov -F bls",
|
|
"benchmark": "node -r ./.babel-register test/benchmarks"
|
|
},
|
|
"dependencies": {
|
|
"@chainsafe/eth2.0-types": "^0.1.0",
|
|
"@chainsafe/milagro-crypto-js": "0.1.3",
|
|
"assert": "^1.4.1",
|
|
"js-sha256": "^0.9.0",
|
|
"secure-random": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.2.3",
|
|
"@babel/core": "^7.3.3",
|
|
"@babel/plugin-proposal-class-properties": "^7.3.3",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
|
|
"@babel/plugin-transform-runtime": "^7.3.4",
|
|
"@babel/preset-env": "^7.4.4",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@babel/register": "^7.0.0",
|
|
"@babel/runtime": "^7.4.4",
|
|
"@chainsafe/benchmark-utils": "^0.1.0",
|
|
"@chainsafe/eth2.0-spec-test-util": "^0.2.3",
|
|
"@types/assert": "^1.4.2",
|
|
"@types/chai": "^4.1.7",
|
|
"@types/mocha": "^5.2.5",
|
|
"@types/node": "^12.7.2",
|
|
"@typescript-eslint/eslint-plugin": "^1.3.0",
|
|
"@typescript-eslint/parser": "^1.3.0",
|
|
"babel-plugin-rewire-exports": "^1.1.0",
|
|
"chai": "^4.2.0",
|
|
"codecov": "^3.1.0",
|
|
"eslint": "^5.14.1",
|
|
"js-yaml": "^3.13.1",
|
|
"mocha": "^5.2.0",
|
|
"nyc": "^13.3.0",
|
|
"sinon": "^7.2.7",
|
|
"supertest": "^4.0.2",
|
|
"ts-node": "^7.0.1",
|
|
"typescript": "^3.2.1",
|
|
"webpack": "^4.30.0",
|
|
"webpack-cli": "^3.3.2"
|
|
}
|
|
}
|