stellar-sdk

v12.3.0
A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.
stellar

fmt

yarn _prettier && yarn eslint -c .eslintrc.js src/ --fix

_nyc

nyc --nycrc-path config/.nycrc

docs

yarn build:docs && jsdoc -c ./config/.jsdoc.json --verbose

test

yarn build:test && yarn test:node && yarn test:integration && yarn test:browser

build

cross-env NODE_ENV=development yarn _build

clean

rm -rf lib/ dist/ coverage/ .nyc_output/ jsdoc/ test/e2e/.soroban

_babel

babel --extensions '.ts' --out-dir lib/ src/

_build

yarn build:node && yarn build:test && yarn build:browser

prepare

yarn build:prod

build:ts

tsc -p ./config/tsconfig.json

test:e2e

./test/e2e/initialize.sh && yarn _nyc mocha --recursive 'test/e2e/src/test-*.js'

_prettier

prettier --ignore-path config/.prettierignore --write './test/**/*.js'

test:node

yarn _nyc mocha --recursive 'test/unit/**/*.js'

build:docs

cross-env NODE_ENV=docs yarn _babel

build:node

yarn _babel && yarn build:ts

build:prod

cross-env NODE_ENV=production yarn _build

build:test

tsc -p ./test/unit/tsconfig.json

preversion

yarn clean && yarn _prettier && yarn build:prod && yarn test

test:browser

karma start config/karma.conf.js

build:browser

webpack -c config/webpack.config.browser.js

test:integration

yarn _nyc mocha --recursive 'test/integration/**/*.js'

Metadata

  • Apache-2.0
  • Whatever
  • Stellar Development Foundation
  • released 9/16/2024

Downloads