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.

89 lines (88 loc) 2.87 kB
{ "name": "react-hook-quill", "private": false, "version": "1.0.26", "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": "npm run lint && npm run coverage && npm run build", "lint": "eslint .", "test": "vitest", "coverage": "vitest run --coverage", "pack:home": "npm pack --pack-destination ~", "pack:check": "npm run pack:home && npm run pack:check::compare", "preflight": "npm publish --dry-run", "prepack": "npm run build:strict && cp README.md _README.md && npm run 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=$(npm run --silent pack:check::name) && echo $(tar -tzf ~/$name.tgz | wc -l)", "pack:check::compare": "counts=$(npm 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", "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@eslint/js": "^9.17.0", "@stylistic/eslint-plugin-ts": "^3.1.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@testing-library/user-event": "^14.6.1", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", "@vitejs/plugin-react": "^4.3.4", "@vitest/coverage-v8": "^3.0.5", "eslint": "^9.20.1", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.19", "globals": "^15.15.0", "jsdom": "^26.0.0", "typescript": "~5.6.2", "typescript-eslint": "^8.24.1", "vite": "^6.1.0", "vitest": "^3.0.5" }, "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" ] }