UNPKG

@sanity/diff

Version:

Generates diffs between documents and primitive types

63 lines 1.55 kB
{ "name": "@sanity/diff", "version": "5.1.0", "description": "Generates diffs between documents and primitive types", "keywords": [ "sanity", "cms", "headless", "realtime", "content", "diff" ], "homepage": "https://www.sanity.io/", "bugs": { "url": "https://github.com/sanity-io/sanity/issues" }, "repository": { "type": "git", "url": "git+https://github.com/sanity-io/sanity.git", "directory": "packages/@sanity/diff" }, "license": "MIT", "author": "Sanity.io <hello@sanity.io>", "sideEffects": false, "type": "module", "exports": { ".": { "source": "./src/index.ts", "default": "./lib/index.js" }, "./package.json": "./package.json" }, "main": "./lib/index.js", "types": "./lib/index.d.ts", "files": [ "lib" ], "dependencies": { "@sanity/diff-match-patch": "^3.2.0" }, "devDependencies": { "@sanity/pkg-utils": "^10.2.1", "@typescript/native-preview": "7.0.0-dev.20251128.1", "eslint": "^9.39.2", "rimraf": "^5.0.10", "@repo/eslint-config": "5.1.0", "@repo/tsconfig": "5.1.0", "@repo/package.config": "5.1.0" }, "engines": { "node": ">=20.19 <22 || >=22.12" }, "publishConfig": { "access": "public" }, "scripts": { "build": "pkg-utils build --strict --check --clean", "check:types": "(cd ../../.. && tsgo --project packages/@sanity/diff/tsconfig.lib.json --erasableSyntaxOnly)", "clean": "rimraf lib coverage", "lint": "eslint .", "watch": "pkg-utils watch" } }