2019-08-05 15:48:26 +00:00
|
|
|
{
|
|
|
|
"name": "@chainsafe/bls",
|
2019-11-27 20:58:41 +00:00
|
|
|
"version": "0.2.0",
|
2019-08-05 15:48:26 +00:00
|
|
|
"description": "Implementation of bls signature verification for ethereum 2.0",
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"types": "lib/index.d.ts",
|
2019-08-05 18:11:56 +00:00
|
|
|
"homepage": "https://github.com/chainsafe/lodestar",
|
2019-08-05 15:48:26 +00:00
|
|
|
"author": "ChainSafe Systems",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"files": [
|
2019-11-21 23:00:09 +00:00
|
|
|
"lib/**/*.js",
|
|
|
|
"lib/**/*.js.map",
|
|
|
|
"lib/**/*.d.ts"
|
2019-08-05 15:48:26 +00:00
|
|
|
],
|
|
|
|
"keywords": [
|
|
|
|
"ethereum",
|
|
|
|
"serenity",
|
|
|
|
"signature verification",
|
|
|
|
"bls"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2019-10-03 12:01:43 +00:00
|
|
|
"clean": "rm -rf lib && rm -rf dist && rm -f tsconfig.tsbuildinfo",
|
|
|
|
"build": "yarn build-lib && yarn build-types",
|
|
|
|
"build:release": "yarn clean && yarn build && yarn build-web",
|
2019-08-05 15:48:26 +00:00
|
|
|
"build-lib": "babel src -x .ts -d lib",
|
2019-11-27 20:58:41 +00:00
|
|
|
"build-types": "tsc --declaration --project tsconfig.build.json --incremental --outDir lib --emitDeclarationOnly",
|
2019-08-05 15:48:26 +00:00
|
|
|
"build-web": "webpack --mode production --entry ./lib/web.js --output ./dist/bls.min.js",
|
|
|
|
"check-types": "tsc --noEmit",
|
2019-11-28 11:13:20 +00:00
|
|
|
"lint": "eslint --color --ext .ts src/",
|
|
|
|
"lint:fix": "yarn run lint --fix",
|
2019-08-05 15:48:26 +00:00
|
|
|
"pretest": "yarn check-types",
|
|
|
|
"prepublishOnly": "yarn build",
|
2019-09-29 08:47:17 +00:00
|
|
|
"test:unit": "nyc --cache-dir .nyc_output/.cache -r lcov -e .ts mocha --colors -r ts-node/register 'test/unit/**/*.test.ts' && nyc report",
|
2020-01-20 22:10:21 +00:00
|
|
|
"test": "yarn test:unit",
|
2019-08-20 09:09:44 +00:00
|
|
|
"coverage": "codecov -F bls",
|
|
|
|
"benchmark": "node -r ./.babel-register test/benchmarks"
|
2019-08-05 15:48:26 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-01-15 20:55:26 +00:00
|
|
|
"@chainsafe/bls-keygen": "^0.0.2",
|
2019-12-10 13:04:23 +00:00
|
|
|
"@chainsafe/eth2-bls-wasm": "^0.2.0",
|
2019-12-19 22:17:22 +00:00
|
|
|
"@chainsafe/eth2.0-types": "^0.2.0",
|
2020-01-30 12:49:56 +00:00
|
|
|
"assert": "^1.4.1"
|
2019-08-05 15:48:26 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-08-20 09:09:44 +00:00
|
|
|
"@chainsafe/benchmark-utils": "^0.1.0",
|
2019-11-28 11:13:20 +00:00
|
|
|
"js-sha256": "^0.9.0",
|
2019-12-06 12:09:48 +00:00
|
|
|
"js-yaml": "^3.13.1",
|
2019-08-05 15:48:26 +00:00
|
|
|
"webpack": "^4.30.0",
|
|
|
|
"webpack-cli": "^3.3.2"
|
|
|
|
}
|
|
|
|
}
|