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

81 lines
2.8 KiB
JSON
Raw Normal View History

2019-08-05 15:48:26 +00:00
{
"name": "@chainsafe/bls",
2020-07-31 14:53:42 +00:00
"version": "3.0.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",
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"
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",
2020-02-20 20:26:26 +00:00
"build-types": "tsc --declaration --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",
2020-01-31 10:17:26 +00:00
"test:web:unit": "karma start",
"test:node:unit": "nyc --cache-dir .nyc_output/.cache -r lcov -e .ts mocha --colors -r ts-node/register 'test/unit/**/*.test.ts' && nyc report",
"test:unit": "yarn run test:node:unit && yarn run test:web:unit",
2020-02-26 08:19:15 +00:00
"test:spec": "mocha --colors -r ts-node/register 'test/spec/**/*.test.ts'",
"test": "yarn run test:unit && yarn run test:spec",
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-07-30 13:47:20 +00:00
"@chainsafe/bls-keygen": "^0.2.0",
2020-05-21 17:02:37 +00:00
"@chainsafe/eth2-bls-wasm": "^0.5.0",
2020-01-30 12:49:56 +00:00
"assert": "^1.4.1"
2019-08-05 15:48:26 +00:00
},
"devDependencies": {
2020-02-20 20:26:26 +00:00
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-bigint": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-typescript": "^7.8.3",
"@babel/register": "^7.8.3",
2020-02-26 08:19:15 +00:00
"@chainsafe/as-sha256": "0.2.0",
"@chainsafe/lodestar-spec-test-util": "^0.5.0",
2020-02-20 20:26:26 +00:00
"@types/chai": "^4.2.9",
"@types/mocha": "^7.0.1",
"@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-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-02-26 08:19:15 +00:00
"mocha": "^6.2.0",
2020-02-20 20:26:26 +00:00
"nyc": "^15.0.0",
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-05-21 09:00:58 +00:00
"webpack-cli": "^3.3.2",
"@chainsafe/eth2-spec-tests": "0.12.0"
2019-08-05 15:48:26 +00:00
}
}