84 lines
2.5 KiB
JSON
84 lines
2.5 KiB
JSON
{
|
|
"name": "@chainsafe/bls",
|
|
"version": "5.1.1",
|
|
"description": "Implementation of bls signature verification for ethereum 2.0",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"module": "./browser",
|
|
"browser": "./browser",
|
|
"homepage": "https://github.com/chainsafe/bls",
|
|
"author": "ChainSafe Systems",
|
|
"license": "Apache-2.0",
|
|
"files": [
|
|
"lib/**/*.js",
|
|
"lib/**/*.js.map",
|
|
"lib/**/*.d.ts",
|
|
"blst-native.*",
|
|
"browser.*",
|
|
"herumi.*",
|
|
"node."
|
|
],
|
|
"keywords": [
|
|
"ethereum",
|
|
"serenity",
|
|
"signature verification",
|
|
"bls"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf lib && rm -rf dist && rm -f tsconfig.tsbuildinfo",
|
|
"build": "tsc --incremental --project tsconfig.build.json",
|
|
"lint": "eslint --color --ext .ts src/ test/",
|
|
"lint:fix": "yarn run lint --fix",
|
|
"prepublishOnly": "yarn build",
|
|
"test:web": "karma start",
|
|
"test:unit": "mocha --colors -r ts-node/register 'test/unit/**/*.test.ts'",
|
|
"test:coverage": "nyc --cache-dir .nyc_output/.cache -r lcov -e .ts mocha --colors -r ts-node/register 'test/unit/**/*.test.ts' && nyc report",
|
|
"test:spec": "mocha --colors -r ts-node/register 'test/spec/**/*.test.ts'",
|
|
"test": "yarn run test:unit && yarn run test:spec",
|
|
"download-test-cases": "ts-node test/downloadSpecTests.ts",
|
|
"coverage": "codecov -F bls",
|
|
"benchmark": "ts-node benchmark",
|
|
"benchmark:all": "cd benchmark && yarn install && yarn benchmark:all"
|
|
},
|
|
"dependencies": {
|
|
"@chainsafe/bls-keygen": "^0.3.0",
|
|
"bls-eth-wasm": "^0.4.4",
|
|
"randombytes": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@chainsafe/blst": "^0.1.4",
|
|
"@chainsafe/lodestar-spec-test-util": "^0.12.0",
|
|
"@types/chai": "^4.2.9",
|
|
"@types/mocha": "^8.0.4",
|
|
"@types/randombytes": "^2.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^2.20.0",
|
|
"@typescript-eslint/parser": "^2.20.0",
|
|
"chai": "^4.2.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-plugin-import": "^2.20.1",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"karma": "^4.4.1",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
"karma-cli": "^2.0.0",
|
|
"karma-mocha": "^1.3.0",
|
|
"karma-spec-reporter": "^0.0.32",
|
|
"karma-webpack": "^4.0.2",
|
|
"mocha": "^8.2.1",
|
|
"nyc": "^15.0.0",
|
|
"prettier": "^2.1.2",
|
|
"ts-loader": "^6.2.1",
|
|
"ts-node": "^8.6.2",
|
|
"typescript": "^3.7.5",
|
|
"webpack": "^4.30.0",
|
|
"webpack-cli": "^3.3.2"
|
|
},
|
|
"resolutions": {
|
|
"mocha": "^8.2.1",
|
|
"v8-profiler-next": "1.3.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@chainsafe/blst": "^0.1.3"
|
|
}
|
|
}
|