This repository has been archived on 2023-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
chainsafe-bls/package.json

125 lines
3.4 KiB
JSON
Raw Permalink Normal View History

2019-08-05 15:48:26 +00:00
{
"name": "@chainsafe/bls",
2022-05-15 17:59:40 +00:00
"version": "7.1.1",
2019-08-05 15:48:26 +00:00
"description": "Implementation of bls signature verification for ethereum 2.0",
2022-04-25 09:21:01 +00:00
"engines": {
"node": ">=14.8.0"
},
"type": "module",
"exports": {
".": {
"import": "./lib/index.js"
},
"./types": {
"import": "./lib/types.js"
},
"./errors": {
"import": "./lib/errors.js"
},
"./constants": {
"import": "./lib/constants.js"
},
2022-04-13 19:36:07 +00:00
"./getImplementation": {
"import": "./lib/getImplementation.js"
},
"./switchable": {
"import": "./lib/switchable.js"
2022-04-13 16:59:25 +00:00
},
"./blst-native": {
"import": "./lib/blst-native/index.js"
},
"./herumi": {
"import": "./lib/herumi/index.js"
}
},
2019-08-05 15:48:26 +00:00
"types": "lib/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"lib/*",
"lib/*/index"
]
}
},
2022-04-14 17:16:06 +00:00
"module": "./lib/index.js",
"browser": "./lib/herumi.js",
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": [
"lib/**/*.js",
"lib/**/*.js.map",
"lib/**/*.d.ts",
2021-08-23 17:27:09 +00:00
"*.d.ts",
"*.js"
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",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
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",
"test:web": "karma start karma.conf.cjs",
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",
"download-test-cases": "ts-node-esm test/downloadSpecTests.ts",
2019-08-20 09:09:44 +00:00
"coverage": "codecov -F bls",
"benchmark": "ts-node-esm 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": {
2022-02-22 19:35:48 +00:00
"@chainsafe/bls-keygen": "^0.4.0",
"bls-eth-wasm": "^0.4.8",
"randombytes": "^2.1.0"
2019-08-05 15:48:26 +00:00
},
"devDependencies": {
2022-05-14 16:24:14 +00:00
"@chainsafe/blst": "^0.2.4",
"@chainsafe/eslint-plugin-node": "^11.2.3",
2021-04-04 21:00:37 +00:00
"@chainsafe/lodestar-spec-test-util": "^0.18.0",
2022-04-11 19:10:42 +00:00
"@chainsafe/threads": "^1.9.0",
2020-02-20 20:26:26 +00:00
"@types/chai": "^4.2.9",
2022-10-07 16:25:44 +00:00
"@types/mocha": "^10.0.0",
"@types/randombytes": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
2022-04-14 17:16:06 +00:00
"buffer": "^6.0.3",
"chai": "^4.3.6",
"eslint": "^7.14.0",
2020-02-20 20:26:26 +00:00
"eslint-plugin-import": "^2.20.1",
2020-11-04 17:34:06 +00:00
"eslint-plugin-prettier": "^3.1.4",
2022-04-14 17:16:06 +00:00
"karma": "^6.3.18",
2020-01-31 10:17:26 +00:00
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
2022-04-14 17:16:06 +00:00
"karma-mocha": "^2.0.1",
2020-01-31 10:17:26 +00:00
"karma-spec-reporter": "^0.0.32",
2022-04-14 17:16:06 +00:00
"karma-webpack": "^5.0.0",
2022-10-07 16:25:44 +00:00
"mocha": "^10.0.0",
2020-02-20 20:26:26 +00:00
"nyc": "^15.0.0",
2020-11-04 17:34:06 +00:00
"prettier": "^2.1.2",
2022-04-14 17:16:06 +00:00
"resolve-typescript-plugin": "^1.2.0",
2022-10-07 16:25:44 +00:00
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
2022-04-14 17:16:06 +00:00
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
2020-11-23 11:34:19 +00:00
},
"resolutions": {
"mocha": "^9.2.2",
2020-11-23 11:34:19 +00:00
"v8-profiler-next": "1.3.0"
2020-11-25 11:39:49 +00:00
},
"peerDependencies": {
2022-05-14 16:24:14 +00:00
"@chainsafe/blst": "^0.2.4"
2019-08-05 15:48:26 +00:00
}
}