UNPKG

@huridocs/react-text-selection-handler

Version:

React pdf handler allows to render a PDF and handle text selection and highlights.

88 lines (87 loc) 2.68 kB
{ "name": "@huridocs/react-text-selection-handler", "version": "0.3.1", "main": "./dist/index.js", "description": "React pdf handler allows to render a PDF and handle text selection and highlights.", "author": "HURIDOCS", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/huridocs/react-text-selection-handler.git" }, "engines": { "node": ">=20.9.0", "npm": ">=9" }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "scripts": { "prepublish": "yarn build", "before_publish": "yarn eslint && yarn check-types && yarn test", "publish_to_npm": "np --access=public --testScript before_publish", "build-test-app": "webpack --config ./e2e/webpack.config.js", "test": "yarn build && yarn build-test-app && jest --projects e2e/jest.e2e.config.ts", "build": "tsc --build tsconfig.build.json", "eslint": "./node_modules/.bin/eslint e2e src --quiet --ext ts,tsx", "check-types": "tsc --noEmit --pretty" }, "dependencies": {}, "peerDependencies": { "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@babel/cli": "^7.24.1", "@babel/core": "^7.24.4", "@babel/preset-env": "^7.24.3", "@babel/preset-react": "^7.24.1", "@babel/preset-typescript": "^7.24.1", "@babel/runtime": "^7.24.4", "@testing-library/react": "^14.2.2", "@types/jest": "^29.5.12", "@types/jest-environment-puppeteer": "^5.0.6", "@types/jest-image-snapshot": "^6.4.0", "@types/react": "^18.2.74", "@types/react-dom": "^18.2.23", "@typescript-eslint/eslint-plugin": "^7.5.0", "@typescript-eslint/parser": "^7.5.0", "babel-loader": "^9.1.3", "copy-webpack-plugin": "^12.0.2", "eslint": "^8.57.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jasmine": "^4.1.3", "eslint-plugin-jest": "^27.9.0", "eslint-plugin-jsx": "^0.1.0", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "^7.34.1", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.6.0", "jest": "^29.7.0", "jest-image-snapshot": "^6.4.0", "jest-puppeteer": "^10.0.1", "np": "^10.0.2", "prettier": "^3.2.5", "puppeteer": "^22.6.2", "react": "^18.2.0", "react-dom": "^18.2.0", "ts-jest": "^29.1.2", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "typescript": "^5.4.3", "webpack": "^5.91.0", "webpack-cli": "^5.1.4" }, "files": [ "dist", "src" ], "keywords": [ "react", "typescript", "npm" ] }