2019-08-05 15:48:26 +00:00
|
|
|
{
|
|
|
|
"name": "@chainsafe/bls",
|
2020-12-18 12:08:51 +00:00
|
|
|
"version": "5.1.1",
|
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",
|
2020-11-25 15:03:11 +00:00
|
|
|
"module": "./browser",
|
|
|
|
"browser": "./browser",
|
2020-02-20 19:33:01 +00:00
|
|
|
"homepage": "https://github.com/chainsafe/bls",
|
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",
|
2020-11-28 19:06:29 +00:00
|
|
|
"lib/**/*.d.ts",
|
|
|
|
"blst-native.*",
|
|
|
|
"browser.*",
|
|
|
|
"herumi.*",
|
|
|
|
"node."
|
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",
|
2020-12-06 11:44:32 +00:00
|
|
|
"build": "tsc --incremental --project tsconfig.build.json",
|
2020-11-04 17:34:42 +00:00
|
|
|
"lint": "eslint --color --ext .ts src/ test/",
|
2019-11-28 11:13:20 +00:00
|
|
|
"lint:fix": "yarn run lint --fix",
|
2019-08-05 15:48:26 +00:00
|
|
|
"prepublishOnly": "yarn build",
|
2020-11-25 11:39:49 +00:00
|
|
|
"test:web": "karma start",
|
2021-04-04 21:00:37 +00:00
|
|
|
"test:unit": "mocha 'test/unit/**/*.test.ts'",
|
|
|
|
"test:coverage": "nyc --cache-dir .nyc_output/.cache -r lcov -e .ts mocha 'test/unit/**/*.test.ts' && nyc report",
|
|
|
|
"test:spec": "mocha 'test/spec/**/*.test.ts'",
|
2020-02-26 08:19:15 +00:00
|
|
|
"test": "yarn run test:unit && yarn run test:spec",
|
2020-12-01 08:17:25 +00:00
|
|
|
"download-test-cases": "ts-node test/downloadSpecTests.ts",
|
2019-08-20 09:09:44 +00:00
|
|
|
"coverage": "codecov -F bls",
|
2020-12-01 08:29:19 +00:00
|
|
|
"benchmark": "ts-node benchmark",
|
2020-12-01 08:40:51 +00:00
|
|
|
"benchmark:all": "cd benchmark && yarn install && yarn benchmark:all"
|
2019-08-05 15:48:26 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-11-23 11:34:19 +00:00
|
|
|
"@chainsafe/bls-keygen": "^0.3.0",
|
2020-11-28 19:27:59 +00:00
|
|
|
"bls-eth-wasm": "^0.4.4",
|
|
|
|
"randombytes": "^2.1.0"
|
2019-08-05 15:48:26 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-04-04 23:44:55 +00:00
|
|
|
"@chainsafe/blst": "^0.2.0",
|
2021-04-04 21:00:37 +00:00
|
|
|
"@chainsafe/lodestar-spec-test-util": "^0.18.0",
|
2020-02-20 20:26:26 +00:00
|
|
|
"@types/chai": "^4.2.9",
|
2020-11-23 11:06:20 +00:00
|
|
|
"@types/mocha": "^8.0.4",
|
2020-11-28 19:27:59 +00:00
|
|
|
"@types/randombytes": "^2.0.0",
|
2020-02-20 20:26:26 +00:00
|
|
|
"@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",
|
2020-11-04 17:34:06 +00:00
|
|
|
"eslint-plugin-prettier": "^3.1.4",
|
2020-01-31 10:17:26 +00:00
|
|
|
"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",
|
2020-11-23 11:06:20 +00:00
|
|
|
"mocha": "^8.2.1",
|
2020-02-20 20:26:26 +00:00
|
|
|
"nyc": "^15.0.0",
|
2020-11-04 17:34:06 +00:00
|
|
|
"prettier": "^2.1.2",
|
2021-04-04 23:44:55 +00:00
|
|
|
"threads": "^1.6.3",
|
2020-01-31 10:17:26 +00:00
|
|
|
"ts-loader": "^6.2.1",
|
2020-02-20 20:26:26 +00:00
|
|
|
"ts-node": "^8.6.2",
|
|
|
|
"typescript": "^3.7.5",
|
2019-08-05 15:48:26 +00:00
|
|
|
"webpack": "^4.30.0",
|
2020-11-04 17:34:06 +00:00
|
|
|
"webpack-cli": "^3.3.2"
|
2020-11-23 11:34:19 +00:00
|
|
|
},
|
|
|
|
"resolutions": {
|
2020-11-23 11:11:00 +00:00
|
|
|
"mocha": "^8.2.1",
|
2020-11-23 11:34:19 +00:00
|
|
|
"v8-profiler-next": "1.3.0"
|
2020-11-25 11:39:49 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2021-04-04 23:44:55 +00:00
|
|
|
"@chainsafe/blst": "^0.2.0"
|
2019-08-05 15:48:26 +00:00
|
|
|
}
|
|
|
|
}
|