Separate two kinds of bundles: dist/aelf-sdk.cjs.js and dist/aelf-sdk.umd.js, the first one is for Node.js runtime environment and the second one is for the Browser runtime environment. Users can check more details in README.md.
Add eslint for code linting, use eslint-config-airbnb-base for eslint config.
Add git hooks for linting codes in modifying.
Add scripts for verifying git commit messages.
Add Jest to test sdk's API and some unit tests, we need your contributes to complete our test cases.
Add travis config for CI.
Add VSCode debug config files.
Add NPM version tool for update release logs.
Reduce unnecessary NPM packages for smaller bundles.
gulp
toWebpack
.dist/aelf-sdk.cjs.js
anddist/aelf-sdk.umd.js
, the first one is for Node.js runtime environment and the second one is for the Browser runtime environment. Users can check more details inREADME.md
.eslint
for code linting, useeslint-config-airbnb-base
foreslint
config.Jest
to test sdk's API and some unit tests, we need your contributes to complete our test cases.travis
config for CI.VSCode
debug config files.NPM
version tool for update release logs.NPM
packages for smaller bundles.