@portabletext/patches
Version:
Portable Text Patches
60 lines • 1.54 kB
JSON
{
"name": "@portabletext/patches",
"version": "1.1.3",
"description": "Portable Text Patches",
"keywords": [
"portable-text",
"portable-text-editor",
"patches"
],
"homepage": "https://www.sanity.io/",
"bugs": {
"url": "https://github.com/portabletext/editor/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/portabletext/editor.git",
"directory": "packages/patches"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"source": "./src/index.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"dependencies": {
"@sanity/diff-match-patch": "^3.2.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@sanity/pkg-utils": "^7.0.4",
"@types/lodash": "^4.17.13",
"typescript": "5.7.3",
"vitest": "^3.0.5"
},
"scripts": {
"build": "pkg-utils build --strict --check --clean",
"check:lint": "biome lint .",
"check:types": "tsc --noEmit --pretty",
"clean": "del .turbo && del dist && del node_modules",
"dev": "pkg-utils watch",
"lint:fix": "biome lint --write .",
"test": "vitest --run",
"test:watch": "vitest",
"test:unit": "vitest --run --project unit",
"test:unit:watch": "vitest --project unit"
}
}