Official JavaScript SDK for iotex-core
Clone or download
Latest commit 9750c55 Jan 21, 2019

README.md

CircleCI npm version

iotex-client-js

Please check documentations at https://docs.iotex.io.

Development

nvm use 8.12.0
npm install

# test
# prepare flow type definitions
npm run flow-install
# run all tests
npm run test
# run a single test file
npm run ava ./path/to/test-file.js

To run a single test case, follow instructions here.

Scripts

  • npm run build: build source code from src to dist
  • npm run docs: generate documentations
  • npm run publish: publish code to npm
  • npm run changelog-patch bump version patch (bug fixes)
  • npm run changelog-minor bump version minor (new features)
  • npm run changelog-major bump version major (breaking change)