@portabletext/block-tools
Version:
Sanity-flavored HTML to Portable Text conversion (wraps @portabletext/html)
65 lines • 1.79 kB
JSON
{
"name": "@portabletext/block-tools",
"version": "5.1.1",
"description": "Sanity-flavored HTML to Portable Text conversion (wraps @portabletext/html)",
"keywords": [
"portable-text",
"block-tools"
],
"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/block-tools"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"sideEffects": false,
"type": "module",
"exports": {
".": "./lib/index.js",
"./rules": "./lib/rules/index.js",
"./package.json": "./package.json"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib"
],
"dependencies": {
"@sanity/types": "^5.13.0",
"@portabletext/html": "^1.0.1",
"@portabletext/schema": "^2.1.1",
"@portabletext/sanity-bridge": "^3.0.0"
},
"devDependencies": {
"@sanity/pkg-utils": "^10.2.1",
"@sanity/schema": "^5.13.0",
"@types/jsdom": "^27.0.0",
"@vercel/stega": "1.1.0",
"@vitest/coverage-v8": "^4.1.0",
"jsdom": "^27.0.0",
"typescript": "5.9.3",
"vitest": "^4.1.0",
"@portabletext/test": "^1.0.3"
},
"engines": {
"node": ">=20.19 <22 || >=22.12"
},
"scripts": {
"build": "pkg-utils build --strict --check --clean",
"check:lint": "biome lint .",
"check:types": "tsc",
"check:types:watch": "tsc --watch",
"clean": "del .turbo && del lib && del node_modules",
"dev": "pkg-utils watch",
"lint:fix": "biome lint --write .",
"test": "vitest --run",
"test:unit": "vitest --run --project unit",
"test:unit:watch": "vitest --project unit",
"test:watch": "vitest"
}
}