UNPKG

react-hook-quill

Version:

React Hook Quill is a lightweight wrapper for Quill, the rich text editor that does not interfere with the design of either React or Quill.

91 lines (90 loc) 2.88 kB
{ "name": "react-hook-quill", "private": false, "version": "1.1.3", "description": "React Hook Quill is a lightweight wrapper for Quill, the rich text editor that does not interfere with the design of either React or Quill.", "keywords": [ "React", "react", "Hooks", "Quill", "quill", "Editor", "editor", "WYSIWYG", "wysiwyg", "wrapper", "text editor", "rich text" ], "homepage": "https://github.com/kozmof/react-hook-quill", "repository": { "type": "github", "url": "git+https://github.com/kozmof/react-hook-quill.git" }, "author": { "name": "Kozo Oeda" }, "license": "MIT", "type": "module", "scripts": { "build": "vite build && tsc", "build:strict": "pnpm run lint && pnpm run coverage && pnpm run build", "lint": "eslint .", "test": "vitest", "coverage": "vitest run --coverage", "pack:home": "pnpm pack --pack-destination ~", "pack:check": "pnpm pack:home && pnpm pack:check-compare", "preflight": "pnpm publish --dry-run", "prepack": "pnpm build:strict && cp README.md _README.md && pnpm prepack-sed", "postpack": "mv _README.md README.md", "prepack-sed": "sed -i 's/\\!\\[architecture\\](\\.\\/architecture\\.excalidraw\\.png)//g' README.md", "pack:check-name": "v=$(echo $npm_package_version) && name='react-hook-quill-'$v && echo $name", "pack:check-counts": "name=$(pnpm run --silent pack:check-name) && echo $(tar -tzf ~/$name.tgz | wc -l)", "pack:check-compare": "counts=$(pnpm run --silent pack:check-counts) && if [ $counts -ne 7 ]; then echo ERROR: check files in tgz; exit 1; else echo OK; fi" }, "dependencies": { "quill": "^2.0.3" }, "peerDependencies": { "react": "^19.2.4", "react-dom": "^19.2.4" }, "devDependencies": { "@eslint/js": "^9.39.4", "@stylistic/eslint-plugin-ts": "^3.1.0", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^4.7.0", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.39.4", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.26", "globals": "^15.15.0", "jsdom": "^26.1.0", "typescript": "~5.6.3", "typescript-eslint": "^8.58.1", "vite": "^6.4.2", "vitest": "^3.2.4" }, "main": "./dist/index.umd.cjs", "module": "./dist/index.js", "types": "./dist/types/src/index.d.ts", "exports": { ".": { "types": "./dist/types/src/index.d.ts", "require": "./dist/index.umd.cjs", "import": "./dist/index.js" } }, "files": [ "dist", "!dist/types/vitest.setup.d.ts", "!dist/types/src/test-util", "!dist/types/src/lib/useQuill.test.d.ts" ] }