Skip to content

Latest commit

 

History

History
127 lines (92 loc) · 3.11 KB

README.md

File metadata and controls

127 lines (92 loc) · 3.11 KB

Cardano JS SDK

PostIntegration Nightly Release


Overview

A suite of TypeScript packages suitable for both Node.js and browser-based development.

External Provider Implementations

Supported Environments

Packages are distributed as both CommonJS and ESM modules.

  • Node.js >=14.15.0 <15.0.0
    • using with type="module" requires --experimental-specifier-resolution=node flag
  • Browser via bundlers (see example webpack config)

Testing

Development

A Yarn Workspace maintaining a single version across all packages.

System Requirements

Clone

git clone \
  --recurse-submodules \
  https://github.com/input-output-hk/cardano-js-sdk.git \
  && cd cardano-js-sdk

Install and Build

nvm install && \
nvm use && \
yarn install && \
yarn build

Run Tests

yarn test

or

yarn test:debug

Lint

yarn lint
yarn lint --fix

Cleanup

yarn cleanup

Distribute

Pack

./scripts/pack.sh

Publish to npm.org

./scripts/publish.sh

Generate Docs

yarn docs

📖 Documentation