@tbd54566975/dwn-sdk-js

v0.4.7-unstable-2024-10-04-32-36-31b0907
A reference implementation of https://identity.foundation/decentralized-web-node/spec/

lint

eslint . --max-warnings 0

build

npm run clean && npm run compile-validators && npm run build:esm && npm run build:cjs && npm run bundle

clean

rimraf dist && rimraf generated/*

bundle

node ./build/create-browser-bundle.cjs

lint:fix

eslint . --fix

build:cjs

npm run build:esm && node build/create-cjs-bundle.cjs && echo '{"type": "commonjs"}' > ./dist/cjs/package.json

build:esm

tsc

test:node

npm run compile-validators && tsc && c8 node --enable-source-maps node_modules/.bin/mocha "dist/esm/tests/**/*.spec.js"

test:browser

npm run compile-validators && cross-env karma start karma.conf.cjs

license-check

license-report --only=prod > license-report.json && node ./build/license-check.cjs

publish:unstable

./build/publish-unstable.sh

compile-validators

node ./build/compile-validators.js

test:browser-debug

npm run compile-validators && cross-env karma start karma.conf.debug.cjs

circular-dependency-check

depcruise src
npm i @tbd54566975/[email protected]

Metadata

Downloads