@trustswap/web-widgets

v1.3.0-beta.4
Widget collection, built by Team Finance

dev

vite dev

lint

npx @biomejs/biome check --write src/

test

vitest run --coverage

build

tsc && vite build && node afterbuild.js

preview

vite preview

test:e2e

npx playwright test

build:embed

tsc && vite build --config vite.config.embed.ts && node afterbuild.js

publish:npm

npm publish --access=public

test:e2e:ci

npm run build && start-server-and-test 'npm run preview' http://localhost:4173 test:e2e

build:library

tsc --p tsconfig.build.json && vite build --config vite.config.lib.ts && node afterbuild.js

build:library:staking

cross-env VITE_TARGET_WIDGET=staking tsc --p tsconfig.build.json && vite build --config vite.config.lib.ts && node afterbuild.js

build:library:multisender

cross-env VITE_TARGET_WIDGET=multisender tsc --p tsconfig.build.json && vite build --config vite.config.lib.ts && node afterbuild.js
npm i @trustswap/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 10/3/2024

Downloads