UNPKG

tiptap-extension-resize-image

Version:

A tiptap image resizing extension for React, Vue, Next, and VanillaJS. Additionally, it can align the image position.

64 lines (63 loc) 1.69 kB
{ "name": "tiptap-extension-resize-image", "version": "1.3.1", "type": "module", "description": "A tiptap image resizing extension for React, Vue, Next, and VanillaJS. Additionally, it can align the image position.", "main": "dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.js", "import": "./esm/index.js" } }, "repository": { "type": "git", "url": "https://github.com/bae-sh/tiptap-extension-resize-image" }, "scripts": { "build": "yarn clean && yarn build:tsc && yarn build:rollup", "build:tsc": "yarn tsc --declaration --emitDeclarationOnly --declarationDir dist", "build:rollup": "rollup -c rollup.config.mjs", "clean": "rm -rf dist esm", "test": "jest" }, "author": "bae-sh <hyeon1293@gmail.com>", "contributors": [ { "name": "dongyounyim", "email": "dyyim4725@gmail.com" } ], "directories": { "lib": "lib" }, "license": "MIT", "keywords": [ "tiptap", "tiptap extension", "image", "resize-image", "resizable image", "align image" ], "devDependencies": { "@babel/core": "^7.23.6", "@babel/preset-env": "^7.23.6", "@babel/preset-typescript": "^7.23.3", "@tiptap/core": "^2.1.13", "@tiptap/extension-image": "^2.1.13", "@tiptap/pm": "^2.1.13", "@types/node": "^20.10.4", "prettier": "^3.3.3", "rollup": "^4.8.0", "rollup-plugin-typescript2": "^0.36.0", "tslib": "^2.6.2", "typescript": "^4.9.5" }, "peerDependencies": { "@tiptap/core": "^2.0.0 || ^3.0.0", "@tiptap/extension-image": "^2.0.0 || ^3.0.0", "@tiptap/pm": "^2.0.0 || ^3.0.0" } }