This package provides primitives for building custom XMTP content types.
# npm
npm i @xmtp/content-type-primitives
# yarn
yarn add @xmtp/content-type-primitives
# pnpm
pnpm i @xmtp/content-type-primitives
Run yarn dev
to build the content type primitives and watch for changes, which will trigger a rebuild.
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