UNPKG

@portabletext/plugin-character-pair-decorator

Version:

Automatically match a pair of characters and decorate the text in between

67 lines 2.07 kB
{ "name": "@portabletext/plugin-character-pair-decorator", "version": "1.0.15", "description": "Automatically match a pair of characters and decorate the text in between", "keywords": [ "portabletext", "plugin", "pair", "decorator", "behaviors" ], "homepage": "https://portabletext.org", "bugs": { "url": "https://github.com/portabletext/plugins/issues" }, "repository": { "type": "git", "url": "https://github.com/portabletext/plugins.git", "directory": "plugins/character-pair-decorator" }, "license": "MIT", "author": "Sanity.io <hello@sanity.io>", "sideEffects": false, "type": "module", "exports": { ".": { "source": "./src/index.ts", "import": "./dist/index.js", "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": [ "src", "dist" ], "devDependencies": { "@portabletext/editor": "^1.55.12", "@types/react": "^19.1.2", "react": "^19.1.0" }, "peerDependencies": { "@portabletext/editor": "^1.55.12", "react": "^19.1.0" }, "dependencies": { "@xstate/react": "^5.0.5", "remeda": "^2.21.3", "xstate": "^5.19.4" }, "scripts": { "build": "pkg-utils build --strict --check --clean", "check:lint": "biome lint .", "check:react-compiler": "eslint --cache --no-inline-config --no-eslintrc --ignore-pattern '**/__tests__/**' --ext .cjs,.mjs,.js,.jsx,.ts,.tsx --parser @typescript-eslint/parser --plugin react-compiler --plugin react-hooks --rule 'react-compiler/react-compiler: [warn]' --rule 'react-hooks/rules-of-hooks: [error]' --rule 'react-hooks/exhaustive-deps: [error]' src", "check:types": "tsc", "check:types:watch": "tsc --watch", "clean": "del .turbo && del dist && del node_modules", "dev": "pkg-utils watch", "lint:fix": "biome lint --write .", "test:unit": "vitest --run", "test:unit:watch": "vitest" } }