@substrate/connect

v0.7.13
Substrate-connect to Smoldot clients. Using either substrate extension with predefined clients or an internal smoldot client based on chainSpecs provided.

lint

yarn eslint . --ext .js,.ts

test

node --no-warnings --experimental-vm-modules ../../node_modules/jest/bin/jest.js --colors --coverage

build

yarn run build:mjs && yarn run build:cjs && bash ./fix-package-type.sh

clean

rm -rf dist tsconfig.tsbuildinfo

pretest

yarn build

prebuild

yarn clean

build:cjs

tsc -b tsconfig-cjs.json && node ./src/connector/specs/generate-specs.mjs cjs

build:mjs

tsc -b tsconfig-mjs.json && node ./src/connector/specs/generate-specs.mjs mjs

deep-clean

yarn clean && rm -rf node_modules
npm i @substrate/[email protected]

Metadata

Downloads