zynx-pdf 0.1.0

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.
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "zynx-pdf",
3
+ "version": "0.1.0",
4
+ "description": "Zynx PDF is a modern React PDF viewer and editor built with Mozilla PDF.js and pdf-lib.",
5
+ "author": "Hafiz Muhammad Zunnoorain",
6
+ "license": "SEE LICENSE IN LICENSE",
7
+ "type": "module",
8
+ "main": "./dist/zynx-pdf.umd.cjs",
9
+ "module": "./dist/zynx-pdf.js",
10
+ "types": "./dist/index.d.ts",
11
+ "style": "./dist/zynx-pdf.css",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/zynx-pdf.js",
16
+ "require": "./dist/zynx-pdf.umd.cjs"
17
+ },
18
+ "./style.css": "./dist/zynx-pdf.css"
19
+ },
20
+ "files": [
21
+ "dist",
22
+ "README.md",
23
+ "LICENSE"
24
+ ],
25
+ "sideEffects": [
26
+ "**/*.css"
27
+ ],
28
+ "scripts": {
29
+ "dev": "vite",
30
+ "build": "tsc -b && vite build",
31
+ "build:lib": "vite build --config vite.lib.config.ts && tsc -p tsconfig.lib.json",
32
+ "prepublishOnly": "npm run build:lib",
33
+ "preview": "vite preview"
34
+ },
35
+ "keywords": [
36
+ "pdf",
37
+ "pdf-viewer",
38
+ "pdf-editor",
39
+ "react",
40
+ "react-pdf",
41
+ "pdfjs",
42
+ "pdf-lib",
43
+ "annotations",
44
+ "zynx-pdf"
45
+ ],
46
+ "dependencies": {
47
+ "pdfjs-dist": "latest",
48
+ "pdf-lib": "latest",
49
+ "lucide-react": "latest",
50
+ "nanoid": "latest"
51
+ },
52
+ "devDependencies": {
53
+ "@vitejs/plugin-react": "latest",
54
+ "typescript": "latest",
55
+ "vite": "latest",
56
+ "react": "latest",
57
+ "react-dom": "latest",
58
+ "@types/react": "latest",
59
+ "@types/react-dom": "latest"
60
+ },
61
+ "peerDependencies": {
62
+ "react": ">=18",
63
+ "react-dom": ">=18"
64
+ }
65
+ }