@xmtp/content-type-primitives
v1.0.3
Published
Primitives for building custom XMTP content types
Downloads
13,403
Readme
Content type primitives
This package provides primitives for building custom XMTP content types.
Install the package
# npm
npm i @xmtp/content-type-primitives
# yarn
yarn add @xmtp/content-type-primitives
# pnpm
pnpm i @xmtp/content-type-primitives
Developing
Run yarn dev
to build the content type primitives and watch for changes, which will trigger a rebuild.
Useful commands
yarn build
: Builds the content type primitivesyarn clean
: Removesnode_modules
,dist
, and.turbo
foldersyarn dev
: Builds the content type and watches for changes, which will trigger a rebuildyarn format
: Runs Prettier format and write changesyarn format:check
: Runs Prettier format checkyarn lint
: Runs ESLintyarn test
: Runs all unit testsyarn typecheck
: Runstsc