From b297740f00ec0515b351d9b11224681fb561e1f7 Mon Sep 17 00:00:00 2001 From: Cayman Date: Mon, 5 Aug 2019 13:11:56 -0500 Subject: [PATCH] Update README and package.json --- README.md | 23 ++++++----------------- package.json | 10 +++++----- 2 files changed, 11 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 3140b40..2d346c6 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,7 @@ -### ChainSafe ETH2.0 Projects -Note: -There is a lot of work being done that are core infrastructural pieces for Eth2.0. Contributions to any of the below repositories would be greatly appreciated. All the libraries are written in TypeScript (or in the process of being converted from pure JS to TypeScript): -
--- [PM / Meta Repo](https://github.com/ChainSafe/Sharding)
-|-- [Beacon Chain](https://github.com/ChainSafe/lodestar_chain)
-|-- [Simple Serialize (SSZ)](https://github.com/ChainSafe/ssz-js)
-|-- [Fixed Size Numbers](https://github.com/ChainSafe/fixed-sized-numbers-ts/)
-|-- [BLS Signatures and Signature Aggregation](https://github.com/ChainSafe/bls-js)
- # bls-js -[![Build Status](https://travis-ci.org/ChainSafe/bls-js.svg?branch=master)](https://travis-ci.org/ChainSafe/bls-js) -[![codecov](https://codecov.io/gh/ChainSafe/bls-js/branch/master/graph/badge.svg)](https://codecov.io/gh/ChainSafe/bls-js) -[![](https://badges.gitter.im/chainsafe/lodestar.svg)](https://gitter.im/chainsafe/lodestar?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Build Status](https://travis-ci.org/ChainSafe/lodestar.svg?branch=master)](https://travis-ci.org/ChainSafe/lodestar) +[![codecov](https://codecov.io/gh/ChainSafe/lodestar/branch/master/graph/badge.svg)](https://codecov.io/gh/ChainSafe/lodestar) ![ETH2.0_Spec_Version 0.8.0](https://img.shields.io/badge/ETH2.0_Spec_Version-0.8.0-2e86c1.svg) This is a Javascript library that implements BLS (Boneh-Lynn-Shacham) signatures and supports signature aggregation. @@ -25,7 +14,7 @@ This is a Javascript library that implements BLS (Boneh-Lynn-Shacham) signatures - `yarn add @chainsafe/bls` ## Development -- `git clone --recursive git@github.com:ChainSafe/bls-js.git` -- `yarn install` -- `yarn test` - +- `git clone --recursive git@github.com:ChainSafe/lodestar.git` +- `cd lodestar` +- `lerna bootstrap` +- `cd packages/bls` diff --git a/package.json b/package.json index 9dc6f65..7a939e3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Implementation of bls signature verification for ethereum 2.0", "main": "lib/index.js", "types": "lib/index.d.ts", - "homepage": "https://github.com/chainsafe/bls-js", + "homepage": "https://github.com/chainsafe/lodestar", "author": "ChainSafe Systems", "license": "Apache-2.0", "files": [ @@ -27,10 +27,10 @@ "lint-fix": "eslint --ext .ts src/ --fix", "pretest": "yarn check-types", "prepublishOnly": "yarn build", - "test:unit": "mocha -r ./.babel-register \"test/unit/**/*.test.ts\"", - "test:spec": "mocha -r ./.babel-register \"test/spec/**/*.test.ts\"", - "test": "nyc -r lcov -e .ts -x \"*.test.ts\" mocha -r ./.babel-register \"test/**/*.test.ts\" && nyc report", - "coverage": "codecov" + "test:unit": "nyc --cache-dir .nyc_output/.cache -r lcov -e .ts mocha -r ./.babel-register 'test/unit/**/*.test.ts' && nyc report", + "test:spec": "mocha -r ./.babel-register 'test/spec/**/*.test.ts'", + "test": "yarn test:unit && yarn test:spec", + "coverage": "codecov -F bls" }, "dependencies": { "@chainsafe/milagro-crypto-js": "0.1.3",