UNPKG

react-pdf-tailwind

Version:

Use Tailwind CSS to style PDFs created with react-pdf

37 lines 867 B
{ "name": "react-pdf-tailwind", "version": "2.3.0", "description": "Use Tailwind CSS to style PDFs created with react-pdf", "keywords": [ "tailwind", "react", "pdf" ], "author": "Andreas Anckar", "homepage": "https://github.com/aanckar/react-pdf-tailwind", "license": "MIT", "main": "dist/index.js", "module": "dist/index.mjs", "typings": "dist/index.d.ts", "files": [ "dist" ], "dependencies": { "@react-pdf/renderer": "^3.1.14", "tailwindcss": "^3.3.6" }, "devDependencies": { "@react-pdf/types": "^2.3.4", "@types/node": "^20.10.4", "tsup": "^8.0.1", "typescript": "^5.3.3", "vitest": "^1.0.4" }, "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts", "dev": "tsup src/index.ts --watch", "lint": "tsc", "test": "vitest", "test:run": "vitest --run" } }