Skip to content

Latest commit

 

History

History

content-type-primitives

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 primitives
  • yarn clean: Removes node_modules, dist, and .turbo folders
  • yarn dev: Builds the content type and watches for changes, which will trigger a rebuild
  • yarn format: Runs Prettier format and write changes
  • yarn format:check: Runs Prettier format check
  • yarn lint: Runs ESLint
  • yarn test: Runs all unit tests
  • yarn typecheck: Runs tsc