react-vector-pdf 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  **Vector-based, React-driven PDF generation.**
4
4
 
5
+ [**Live Demo**](https://adithyavalsaraj.github.io/react-vector-pdf/)
6
+
5
7
  `react-vector-pdf` is a React wrapper around **jsPDF** that allows you to build complex, multi-page PDFs using declarative React components. Unlike HTML-to-Canvas solutions, this library renders **selectable, searchable vector text**, resulting in smaller file sizes and crystal-clear output at any zoom level.
6
8
 
7
9
  ## Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-vector-pdf",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "private": false,
5
5
  "description": "Vector (text-selectable) PDF engine with React UI to configure page numbers, formats, scopes, and center labels. Powered by jsPDF.",
6
6
  "repository": {
@@ -10,7 +10,7 @@
10
10
  "bugs": {
11
11
  "url": "https://github.com/adithyavalsaraj/react-vector-pdf/issues"
12
12
  },
13
- "homepage": "https://github.com/adithyavalsaraj/react-vector-pdf#readme",
13
+ "homepage": "https://adithyavalsaraj.github.io/react-vector-pdf/",
14
14
  "type": "module",
15
15
  "main": "./dist/react-vector-pdf.js",
16
16
  "module": "./dist/react-vector-pdf.js",
@@ -29,6 +29,8 @@
29
29
  "dev": "vite",
30
30
  "build": "vite build",
31
31
  "preview": "vite preview",
32
+ "build:demo": "tsc && vite build --mode demo",
33
+ "deploy": "npm run build:demo && gh-pages -d dist",
32
34
  "prepublishOnly": "npm run build",
33
35
  "release": "release-it"
34
36
  },
@@ -58,6 +60,7 @@
58
60
  "@types/react-dom": "^19.2.3",
59
61
  "@vitejs/plugin-react": "^5.1.2",
60
62
  "baseline-browser-mapping": "^2.9.11",
63
+ "gh-pages": "^6.3.0",
61
64
  "release-it": "^19.1.0",
62
65
  "sass": "^1.97.1",
63
66
  "typescript": "^5.9.3",