UNPKG

react-pdf-simple-viewer

Version:

![License](https://img.shields.io/github/license/cdx0/react-pdf-simple-viewer?style=flat-square) ![NPM](https://img.shields.io/npm/v/react-pdf-simple-viewer?style=flat-square) ![typescript](https://img.shields.io/badge/%E6%94%AF%E6%8C%81-typescript-blue?s

91 lines (90 loc) 1.93 kB
{ "version": "0.2.0", "repository": { "type": "git", "url": "git+ssh://git@github.com:cdx0/react-pdf-simple-viewer.git" }, "keywords": [ "pdf", "document", "pages", "pdf viewer", "pdf-viewer", "rotate", "rotate pdf", "zoom", "zoom pdf", "react", "reactjs", "react-pdf", "react-pdf-viewer", "react-pdf-simple-viewer", "react typescript pdf" ], "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "engines": { "node": ">=10" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test --passWithNoTests", "lint": "tsdx lint", "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why" }, "peerDependencies": { "react": ">=16" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "name": "react-pdf-simple-viewer", "author": "cdx", "module": "dist/pdflib.esm.js", "size-limit": [ { "path": "dist/pdflib.cjs.production.min.js", "limit": "10 KB" }, { "path": "dist/pdflib.esm.js", "limit": "10 KB" } ], "devDependencies": { "@babel/core": "^7.16.0", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0", "@babel/plugin-proposal-optional-chaining": "^7.16.0", "@size-limit/preset-small-lib": "^7.0.1", "@types/react": "^17.0.35", "@types/react-dom": "^17.0.11", "@types/styled-components": "^5.1.15", "husky": "^7.0.4", "react": "^17.0.2", "react-dom": "^17.0.2", "size-limit": "^7.0.1", "tsdx": "^0.14.1", "tslib": "^2.3.1", "typescript": "^3.9.10" }, "dependencies": { "pdfjs-dist": "^2.10.377", "styled-components": "^5.3.3" } }