@substrate/connect

v0.3.12
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

yarn test:unit

build

tsc -b

clean

rm -rf dist tsconfig.tsbuildinfo

pretest

yarn build

prebuild

yarn clean && yarn checkSpecs

test:all

../../bin/node-esm $(yarn bin)/jest --colors --silent --coverage

test:unit

../../bin/node-esm $(yarn bin)/jest --colors --silent --coverage --config=jest.config.unit.ts

checkSpecs

node ../../bin/checkSpecs.js

deep-clean

yarn clean && rm -rf node_modules

test:integration

../../bin/node-esm $(yarn bin)/jest --colors --silent --coverage --config=jest.config.integration.ts
npm i @substrate/[email protected]

Metadata

Downloads