-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 1.89 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "pdfviewer",
"version": "0.0.1",
"description": "An Electron-based PDF viewer with React and TailwindCSS",
"author": "56radius",
"private": true,
"type": "module",
"main": "electron-main.cjs",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint .",
"electron": "electron .",
"dev:all": "concurrently \"vite\" \"wait-on http://localhost:5173 && electron .\"",
"dist": "electron-builder"
},
"dependencies": {
"@headlessui/react": "^2.2.2",
"@react-pdf-viewer/core": "^3.12.0",
"@react-pdf-viewer/default-layout": "^3.12.0",
"@react-pdf-viewer/toolbar": "^3.12.0",
"@tailwindcss/vite": "^4.1.5",
"canvas": "^3.1.2",
"pdfjs-dist": "^3.11.174",
"pdfobject": "^2.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-pdf": "^9.2.1",
"react-pdf-highlighter": "^8.0.0-rc.0",
"react-router-dom": "^7.5.3",
"tailwindcss": "^4.1.5"
},
"devDependencies": {
"@eslint/js": "^9.22.0",
"@tailwindcss/oxide": "^4.1.11",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react-swc": "^3.8.0",
"concurrently": "^8.2.2",
"electron": "^25.8.3",
"electron-builder": "^26.0.12",
"eslint": "^9.22.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^16.0.0",
"vite": "^6.3.1",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.pdfviewer.app",
"productName": "PdfViewer",
"copyright": "© 2025 PdfViewer",
"files": [
"dist",
"src/main",
"package.json"
],
"directories": {
"output": "release"
},
"asar": true,
"extraMetadata": {
"main": "src/main/index.js"
},
"mac": {
"target": "dmg"
},
"win": {
"target": "nsis"
},
"linux": {
"target": "AppImage"
}
}
}