@portabletext/plugin-one-line
Version:
🤏 Restricts the Portable Text Editor to a single line
59 lines • 1.83 kB
JSON
{
"name": "@portabletext/plugin-one-line",
"version": "1.0.13",
"description": "🤏 Restricts the Portable Text Editor to a single line",
"keywords": [
"portabletext",
"plugin",
"one-line",
"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/one-line"
},
"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.52.7",
"@types/react": "^19.1.2",
"react": "^19.1.0"
},
"peerDependencies": {
"@portabletext/editor": "^1.52.7",
"react": "^19.1.0"
},
"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 ."
}
}