@prismicio/react

v2.7.2-alpha.0
React components and hooks to fetch and present Prismic content
typescript prismic react cms hook

dev

vite build --watch

lint

eslint --ext .js,.jsx,.ts,.tsx .

size

size-limit

test

npm run lint && npm run types && npm run unit && npm run build && npm run size

unit

vitest run --coverage

build

vite build

types

tsc --noEmit

format

prettier --write .

prepare

npm run build

release

npm run build && npm run test && standard-version && git push --follow-tags && npm run build && npm publish

unit:watch

vitest watch

release:dry

standard-version --dry-run

release:alpha

npm run build && npm run test && standard-version --release-as minor --prerelease alpha && git push --follow-tags && npm run build && npm publish --tag alpha

release:alpha:dry

standard-version --release-as minor --prerelease alpha --dry-run
npm i @prismicio/[email protected]

Metadata

Downloads