sanity

v3.36.0
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 --tsconfig tsconfig.lib.json

clean

rimraf _internal.js cli.js desk.js lib presentation.js router.js

watch

pkg-utils watch --tsconfig tsconfig.lib.json

test:ct

playwright test -c playwright-ct.config.ts

coverage

jest --coverage

prebuild

run-s clean

postbuild

run-s check:package

check:package

pkg-utils --tsconfig tsconfig.lib.json

write:playwright-report-as-pr-comment

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

Metadata

  • MIT
  • >=18
  • Sanity.io
  • released 3/26/2024

Downloads