2.0.0 • Published 11 months ago
@xmtp/content-type-primitives v2.0.0
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-primitivesDeveloping
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.turbofoldersyarn 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