bitgo

v4.39.0
BitGo Javascript SDK
bitgo bitcoin bitgojs

lint

eslint --ext .js .

test

npm run test-node

audit

if [ "$(npm --version | cut -d. -f1)" -ge "6" ]; then npm audit; else echo "npm >= 6 required to perform audit. skipping..."; fi

compile

webpack --progress --colors --env.prod

express

node bin/bitgo-express -b 0.0.0.0

babelify

mkdir -p browser && ./node_modules/.bin/browserify ./src/index.js --exclude superagent-proxy --exclude morgan -t babelify -s BitGoJS -o browser/BitGoJS-babelify.js

coverage

nyc report --reporter=text-lcov > coverage.lcov && codecov

test-node

nyc -- ./node_modules/.bin/_mocha --timeout 20000 --reporter list --recursive test/unit/ test/v2/unit/

compile-dbg

webpack --progress --colors --env.dev

compile-test

webpack --progress --colors --env.test

test-browser

npm run compile-test && ./node_modules/karma/bin/karma start .karma.conf.js --log-level debug --single-run

test-integration

_mocha --timeout 20000 --reporter list --recursive test/integration/ test/v2/integration/

browserify-sjcl-bitgo

browserify ./example/sjcl_bitgo.js -s SJCLBitGo -o ./sjcl-bitgo.js

Metadata

  • Unknown
  • >=6.9.0
  • Unknown
  • released 10/23/2018

Downloads