xrpl

v4.0.0
A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser
ripple-lib ripple xrp xrp ledger xrpl

lint

eslint . --ext .ts --max-warnings 0

perf

./scripts/perf_test.sh

test

jest --config=jest.config.unit.js --verbose false --silent=false

build

run-s build:lib build:snippets build:web

clean

rm -rf ./dist ./coverage ./test/testCompiledForWeb tsconfig.build.tsbuildinfo

watch

run-s build:lib --watch

docgen

tsc --build tsconfig.docs.json && typedoc && echo js.xrpl.org >> ../../docs/CNAME

format

prettier --write '{src,test}/**/*.ts'

analyze

webpack --analyze

prepare

copyfiles ../../README.md xrpl/README.md

build:lib

tsc --build tsconfig.build.json

build:web

webpack

prepublish

run-s clean build

test:watch

jest --watch --verbose false --silent=false --runInBand ./test/**/*.test.ts --testPathIgnorePatterns=./test/integration --testPathIgnorePatterns=./test/fixtures

test:browser

npm run build && npm run build:browserTests && karma start ./karma.config.js

start:snippet

npm run compile:snippets && node

build:snippets

tsc --build ./snippets/tsconfig.json

inspect:snippet

npm run compile:snippets && node inspect

compile:snippets

tsc -p snippets/tsconfig.json

test:integration

TS_NODE_PROJECT=tsconfig.build.json jest --config=jest.config.integration.js --verbose false --silent=false --runInBand

build:browserTests

webpack --config ./test/webpack.config.js

Metadata

  • ISC
  • >=18.0.0
  • Unknown
  • released 7/16/2024

Downloads