@polkadot-api/ws-provider
v0.0.1-ad27c1edfc09c49e693e7487fe27e1a6e24f3575.1.0lint
prettier --check README.md "src/**/*.{js,jsx,ts,tsx,json,md}"
test
echo 'no tests'
build
tsc --noEmit && pnpm run build:web && pnpm run build:node
format
prettier --write README.md "src/**/*.{js,jsx,ts,tsx,json,md}"
build:web
tsup-node src/web.ts --clean --sourcemap --platform neutral --target=es2020 --format esm,cjs --dts --out-dir dist/web && tsup-node src/web.ts --clean --sourcemap --platform neutral --target=es2020 --format cjs --dts --minify --out-dir dist/web/min
build:node
tsup-node src/node.ts --clean --sourcemap --platform neutral --target=es2020 --format esm,cjs --dts --out-dir dist/node && tsup-node src/node.ts --clean --sourcemap --platform neutral --target=es2020 --format cjs --dts --minify --out-dir dist/node/min
npm i @polkadot-api/[email protected]
Metadata
- MIT
- Whatever
- Josep M Sobrepere
- released 3/8/2024