leap-core

v3.0.0
transaction and block implementation
leap plasma scaling ethereum

lint

yarn lint:js

lint:eslint

eslint --fix --ignore-path .gitignore --ignore-pattern internals/scripts --ignore-pattern dist

lint:js

yarn lint:eslint .

check-coverage

nyc check-coverage --statements 50 --branches 50 --functions 50 --lines 50

test

mocha --require @babel/register --require @babel/polyfill lib/*.spec.js

cover

nyc --reporter=lcov yarn test

prebuild

rm -rf dist

build

babel --ignore '**/*.spec.js' --out-dir dist lib && parcel build -t browser --global LeapCore lib/index.js -o dist/leap-core.min.js

prepublish

yarn prebuild && yarn build
npm i leap-core

Metadata

Downloads