@stellar/stellar-sdk

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

fmt

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

_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/

_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

_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/tsconfig.json

preversion

yarn clean && yarn fmt && 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'
npm i @stellar/[email protected]

Metadata

  • Apache-2.0
  • Whatever
  • Stellar Development Foundation
  • released 1/23/2024

Downloads