sanity

v3.42.1
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
sanity cms headless realtime content

lint

eslint .

test

pkg-utils --strict && jest

build

pkg-utils build --strict --check --clean

clean

rimraf _internal.js _singletons.js cli.js desk.js migrate.js presentation.js router.js structure.js lib

watch

pkg-utils watch

test:ct

playwright test -c playwright-ct.config.ts

coverage

jest --coverage

check:types

tsc --project tsconfig.lib.json

build:bundle

vite build --config package.bundle.ts

prepublishOnly

turbo run build

write:playwright-report-as-pr-comment

node -r esbuild-register playwright-ct/scripts/parsePlaywrightReportJson.ts

Metadata

  • MIT
  • >=18
  • Sanity.io
  • released 5/15/2024

Downloads