@bind-protocol/web-components
v0.0.1
Published
Embeddable web components for rendering verified proofs and W3C Credentials from the Bind protocol
Readme
@bind-protocol/web-components
Internal setup for the Bind Protocol web components repository. For usage and API documentation, see docs.bindprotocol.xyz.
Setup
pnpm installDevelopment
pnpm devOpen http://localhost:5173 for the demo page.
Testing
pnpm test
pnpm test:watch
pnpm test:coverageLinting
pnpm lintBuild
pnpm buildOutputs to dist/:
index.js– Types only (no components)[component].js– One per component insrc/components/(e.g.proof-card.js)
Component entries and .d.ts files are generated by vite-plugin-component-entries from src/components/*.svelte. Add a new .svelte file to automatically get a new tree-shakeable subpath.
