@cardano-sdk/util

v0.15.5
General, not cardano-specific utils

build

yarn build:cjs && tsc -p src/tsconfig.json --outDir ./dist/esm --module es2020 && tsc-alias -p src/tsconfig.json --outDir ./dist/esm && cp ../../build/esm-package.json ./dist/esm/package.json

build:cjs

tsc --build src && cp ../../build/cjs-package.json ./dist/cjs/package.json

circular-deps:check

madge --circular dist/cjs

tscNoEmit

echo typescript --noEmit command not implemented yet

cleanup:dist

rm -rf dist

cleanup:nm

rm -rf node_modules

cleanup

rm -rf dist node_modules

lint

eslint -c ../../complete.eslintrc.js "src/**/*.ts" "test/**/*.ts"

lint:fix

yarn lint --fix

test

jest -c ./jest.config.js

test:build:verify

tsc --build ./test

test:e2e

echo 'test:e2e' command not implemented yet

coverage

yarn test --coverage || true

prepack

yarn build

test:debug

DEBUG=true yarn test
npm i @cardano-sdk/util

Metadata

Downloads