{ "name": "@portabletext/traversal", "version": "1.0.2", "description": "Find, compare and walk the nodes of any Portable Text document", "keywords": [ "path", "portable-text", "traversal" ], "homepage": "https://www.portabletext.org", "bugs": { "url": "https://github.com/portabletext/editor/issues" }, "license": "MIT", "author": "Sanity.io ", "repository": { "type": "git", "url": "git+https://github.com/portabletext/editor.git", "directory": "packages/traversal" }, "files": [ "dist" ], "type": "module", "sideEffects": false, "types": "./dist/index.d.ts", "exports": { ".": { "source": "./src/index.ts", "default": "./dist/index.js" }, "./package.json": "./package.json" }, "publishConfig": { "exports": { ".": "./dist/index.js", "./package.json": "./package.json" }, "access": "public" }, "scripts": { "build": "pkg-utils build --strict --check", "check:types": "tsc --noEmit --pretty", "check:types:watch": "tsc --noEmit --pretty --watch", "clean": "del .turbo && del dist && del node_modules", "dev": "pkg-utils watch", "test": "vitest --run", "test:unit": "vitest --run --project unit", "test:unit:watch": "vitest --project unit", "test:watch": "vitest" }, "dependencies": { "@portabletext/patches": "workspace:^" }, "devDependencies": { "@portabletext/test": "workspace:^", "@sanity/pkg-utils": "catalog:tooling", "@sanity/tsconfig": "catalog:tooling", "typescript": "catalog:tooling", "vite": "catalog:tooling", "vitest": "catalog:tooling" }, "engines": { "node": ">=22.12" } }