UNPKG

@knoopx/react-pdf

Version:

<p align="center"> <img src="https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png" height="280px"> <p align="center">React renderer for creating PDF files on the browser and server<p> <p align="center">

113 lines (112 loc) 3.22 kB
{ "name": "@knoopx/react-pdf", "version": "1.6.2", "license": "MIT", "author": "Diego Muracciole <diegomuracciole@gmail.com>", "homepage": "https://github.com/diegomura/react-pdf#readme", "repository": "git@github.com:diegomura/react-pdf.git", "main": "dist/react-pdf.cjs.js", "module": "dist/react-pdf.es.js", "browser": { "./dist/react-pdf.es.js": "./dist/react-pdf.browser.es.js", "./dist/react-pdf.cjs.js": "./dist/react-pdf.browser.cjs.js" }, "typings": "index.d.ts", "scripts": { "build": "rimraf ./dist && rollup -c", "watch": "rimraf ./dist && rollup -c -w", "example": "babel-node ./examples/index.js", "prepublish": "npm run build", "precommit": "git add . && lint-staged", "lint": "eslint src", "test": "jest", "test:size": "bundlesize" }, "dependencies": { "@babel/runtime": "^7.3.1", "@react-pdf/fontkit": "^1.13.0", "@react-pdf/pdfkit": "^1.2.0", "@react-pdf/png-js": "^1.0.0", "@react-pdf/textkit": "^0.3.7", "blob-stream": "^0.1.3", "cross-fetch": "^3.0.2", "emoji-regex": "^8.0.0", "is-url": "^1.2.4", "media-engine": "^1.0.3", "page-wrapping": "^1.1.0", "ramda": "^0.26.1", "react": "^16.8.6", "react-reconciler": "^0.20.4", "yoga-layout-prebuilt": "^1.9.3" }, "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.3.3", "@babel/node": "^7.2.2", "@babel/plugin-proposal-class-properties": "^7.3.3", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.3.1", "@babel/preset-react": "^7.0.0", "babel-eslint": "^10.0.1", "babel-jest": "^24.1.0", "babel-plugin-add-module-exports": "^1.0.0", "bundlesize": "^0.17.1", "chalk": "^2.4.2", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.9.1", "eslint": "^5.14.1", "eslint-config-prettier": "^4.0.0", "eslint-plugin-jest": "^22.3.0", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-react": "^7.12.4", "husky": "^1.3.1", "jest": "^24.5.0", "jest-fetch-mock": "^2.1.1", "lint-staged": "^8.1.4", "lodash.times": "^4.3.2", "mock-fs": "^4.8.0", "mockdate": "^2.0.2", "prettier": "^1.16.4", "react-dom": "^16.8.6", "rimraf": "^2.6.3", "rollup": "^1.2.3", "rollup-plugin-alias": "^1.5.1", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-bundle-size": "^1.0.3", "rollup-plugin-ignore": "^1.0.5", "rollup-plugin-json": "^3.1.0", "rollup-plugin-node-resolve": "^4.0.1", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-terser": "^4.0.4" }, "peerDependencies": { "react": "^16.0.0" }, "lint-staged": { "*.js": [ "yarn run lint", "prettier --write", "git add" ] }, "files": [ "dist", "index.d.ts" ], "bundlesize": [ { "path": "./dist/react-pdf.cjs.min.js", "maxSize": "17kB" }, { "path": "./dist/react-pdf.browser.cjs.min.js", "maxSize": "17kB" } ], "collective": { "type": "opencollective", "url": "https://opencollective.com/react-pdf", "logo": "https://opencollective.com/opencollective/logo.txt" } }