UNPKG

react-pdf-html

Version:

Html component for react-pdf with CSS support

76 lines (75 loc) 1.94 kB
{ "name": "react-pdf-html", "version": "2.1.3", "author": "Dan Blaisdell dan@manifestwebdesign.com", "description": "Html component for react-pdf with CSS support", "keywords": [ "PDF", "react PDF", "React", "HTML", "CSS" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/danomatic/react-pdf-html.git" }, "type": "module", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "exports": { ".": { "types": "./dist/types/index.d.ts", "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js", "default": "./dist/esm/index.js" } }, "types": "dist/types/index.d.ts", "scripts": { "test": "NODE_ENV=test jest", "build": "rm -rf dist && tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json; echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json", "coverage": "NODE_ENV=test jest --coverage", "pretty-check": "prettier --check \"**/*.{js,ts,tsx,json,md}\"", "pretty": "prettier --write \"**/*.{js,ts,tsx,json,md}\"" }, "engines": { "node": ">=16.0.0" }, "dependencies": { "css-tree": "^1.1.3", "node-html-parser": "^6.1.13" }, "peerDependencies": { "@react-pdf/renderer": ">=3.4.4", "react": ">=16" }, "devDependencies": { "@react-pdf/renderer": "^3.4.4", "@types/css-tree": "^1.0.7", "@types/jest": "^25.2.3", "@types/node": "^14.0.25", "@types/react": "^17.0.5", "@types/validator": "^12.0.1", "husky": "^4.3.0", "jest": "^29.7.0", "json-stringify-safe": "^5.0.1", "lint-staged": "^10.4.2", "prettier": "^2.2.1", "react": "^17.0.2", "ts-jest": "^29.1.1", "ts-node": "^10.9.2", "typescript": "^4.2.4" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "**/*.{js,ts,tsx,json,md}": [ "prettier --write" ] } }