@files-preview-app/preview-file 1.2.8 → 1.3.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 CHANGED
@@ -1,179 +1,169 @@
1
- {
2
- "name": "@files-preview-app/preview-file",
3
- "version": "1.2.8",
4
- "description": "Universal file preview library for Web, React, Angular, and Vue. 100% client-side with zero cloud dependency. Preview PDF, Word, Excel, PowerPoint, CSV, ZIP, Markdown, 3D Models (STL/OBJ), Images, Video, Audio, and Code with built-in toolbar.",
5
- "keywords": [
6
- "file-preview",
7
- "preview-file",
8
- "file-viewer",
9
- "document-viewer",
10
- "document-preview",
11
- "doc-viewer",
12
- "react-file-viewer",
13
- "react-doc-viewer",
14
- "vue-file-preview",
15
- "vue-doc-viewer",
16
- "ngx-doc-viewer",
17
- "angular-file-viewer",
18
- "pdf-viewer",
19
- "pdf-preview",
20
- "pdfjs",
21
- "docx-preview",
22
- "docx-viewer",
23
- "word-viewer",
24
- "office-viewer",
25
- "excel-preview",
26
- "excel-viewer",
27
- "xlsx-viewer",
28
- "spreadsheet-viewer",
29
- "pptx-preview",
30
- "pptx-viewer",
31
- "powerpoint-viewer",
32
- "presentation-viewer",
33
- "csv-viewer",
34
- "tsv-viewer",
35
- "zip-viewer",
36
- "zip-preview",
37
- "archive-viewer",
38
- "markdown-preview",
39
- "markdown-viewer",
40
- "3d-viewer",
41
- "stl-viewer",
42
- "obj-viewer",
43
- "threejs-viewer",
44
- "image-viewer",
45
- "video-player",
46
- "audio-player",
47
- "code-viewer",
48
- "syntax-highlighter",
49
- "client-side-preview",
50
- "offline-preview",
51
- "react",
52
- "vue",
53
- "angular",
54
- "nextjs",
55
- "universal-preview"
56
- ],
57
- "author": "Sumit Patel",
58
- "license": "MIT",
59
- "type": "module",
60
- "main": "./dist/index.cjs",
61
- "module": "./dist/index.js",
62
- "types": "./dist/index.d.ts",
63
- "exports": {
64
- ".": {
65
- "types": "./dist/index.d.ts",
66
- "import": "./dist/index.js",
67
- "require": "./dist/index.cjs"
68
- },
69
- "./react": {
70
- "types": "./dist/react.d.ts",
71
- "import": "./dist/react.js",
72
- "require": "./dist/react.cjs"
73
- },
74
- "./vue": {
75
- "types": "./dist/vue.d.ts",
76
- "import": "./dist/vue.js",
77
- "require": "./dist/vue.cjs"
78
- },
79
- "./angular": {
80
- "types": "./dist/angular.d.ts",
81
- "import": "./dist/angular.js",
82
- "require": "./dist/angular.cjs"
83
- },
84
- "./styles.css": "./dist/styles.css"
85
- },
86
- "files": [
87
- "dist",
88
- "README.md",
89
- "LICENSE",
90
- "THIRD_PARTY_LICENSES.md"
91
- ],
92
- "publishConfig": {
93
- "access": "public"
94
- },
95
- "repository": {
96
- "type": "git",
97
- "url": "https://github.com/patelsumit5192/preview-file.git"
98
- },
99
- "homepage": "https://github.com/patelsumit5192/preview-file#readme",
100
- "bugs": {
101
- "url": "https://github.com/patelsumit5192/preview-file/issues"
102
- },
103
- "dependencies": {
104
- "@panzoom/panzoom": "^4.6.0",
105
- "dompurify": "^3.2.4",
106
- "docx-preview": "^0.3.2",
107
- "exceljs": "^4.4.0",
108
- "fflate": "^0.8.3",
109
- "highlight.js": "^11.9.0",
110
- "marked": "^18.0.13",
111
- "papaparse": "^5.4.1",
112
- "pdfjs-dist": "^4.10.38",
113
- "pptx-browser": "^4.1.5",
114
- "rtf.js": "^3.0.9",
115
- "three": "^0.186.0",
116
- "xlsx": "^0.18.5"
117
- },
118
- "peerDependencies": {
119
- "@angular/common": ">=17.0.0",
120
- "@angular/core": ">=17.0.0",
121
- "react": ">=18.0.0",
122
- "react-dom": ">=18.0.0",
123
- "vue": ">=3.0.0"
124
- },
125
- "peerDependenciesMeta": {
126
- "react": {
127
- "optional": true
128
- },
129
- "react-dom": {
130
- "optional": true
131
- },
132
- "vue": {
133
- "optional": true
134
- },
135
- "@angular/core": {
136
- "optional": true
137
- },
138
- "@angular/common": {
139
- "optional": true
140
- }
141
- },
142
- "devDependencies": {
143
- "@angular/common": "^19.0.0",
144
- "@angular/core": "^19.0.0",
145
- "@types/react": "^18.3.0",
146
- "@types/react-dom": "^18.3.0",
147
- "@types/three": "^0.186.0",
148
- "react": "^18.3.0",
149
- "react-dom": "^18.3.0",
150
- "rimraf": "^6.0.0",
151
- "tsup": "^8.4.0",
152
- "typescript": "~5.8.2",
153
- "vue": "^3.5.0",
154
- "@patel.sumit51/core": "0.1.0",
155
- "@patel.sumit51/angular": "0.1.0",
156
- "@patel.sumit51/plugin-3d": "0.1.0",
157
- "@patel.sumit51/plugin-archive": "0.1.0",
158
- "@patel.sumit51/plugin-code": "0.1.0",
159
- "@patel.sumit51/plugin-csv": "0.1.0",
160
- "@patel.sumit51/plugin-excel": "0.1.0",
161
- "@patel.sumit51/plugin-docx": "0.1.0",
162
- "@patel.sumit51/plugin-doc": "0.1.0",
163
- "@patel.sumit51/plugin-markdown": "0.1.0",
164
- "@patel.sumit51/plugin-html-preview": "0.1.0",
165
- "@patel.sumit51/plugin-media": "0.1.0",
166
- "@patel.sumit51/plugin-opendocument": "0.1.0",
167
- "@patel.sumit51/plugin-pdf": "0.1.0",
168
- "@patel.sumit51/plugin-rtf": "0.1.0",
169
- "@patel.sumit51/plugin-pptx": "0.1.0",
170
- "@patel.sumit51/plugin-ppt": "0.1.0",
171
- "@patel.sumit51/react": "0.1.0",
172
- "@patel.sumit51/vue": "0.1.0"
173
- },
174
- "scripts": {
175
- "build": "tsup",
176
- "dev": "tsup --watch",
177
- "clean": "rimraf dist"
178
- }
179
- }
1
+ {
2
+ "name": "@files-preview-app/preview-file",
3
+ "version": "1.3.0",
4
+ "description": "Universal file preview library for Web, React, Angular, and Vue. 100% client-side with zero cloud dependency. Preview PDF, Word, Excel, PowerPoint, CSV, ZIP, Markdown, 3D Models (STL/OBJ), Images, Video, Audio, and Code with built-in toolbar.",
5
+ "keywords": [
6
+ "file-preview",
7
+ "preview-file",
8
+ "file-viewer",
9
+ "document-viewer",
10
+ "document-preview",
11
+ "doc-viewer",
12
+ "react-file-viewer",
13
+ "react-doc-viewer",
14
+ "vue-file-preview",
15
+ "vue-doc-viewer",
16
+ "ngx-doc-viewer",
17
+ "angular-file-viewer",
18
+ "pdf-viewer",
19
+ "pdf-preview",
20
+ "pdfjs",
21
+ "docx-preview",
22
+ "docx-viewer",
23
+ "word-viewer",
24
+ "office-viewer",
25
+ "excel-preview",
26
+ "excel-viewer",
27
+ "xlsx-viewer",
28
+ "spreadsheet-viewer",
29
+ "pptx-preview",
30
+ "pptx-viewer",
31
+ "powerpoint-viewer",
32
+ "presentation-viewer",
33
+ "csv-viewer",
34
+ "tsv-viewer",
35
+ "zip-viewer",
36
+ "zip-preview",
37
+ "archive-viewer",
38
+ "markdown-preview",
39
+ "markdown-viewer",
40
+ "3d-viewer",
41
+ "stl-viewer",
42
+ "obj-viewer",
43
+ "threejs-viewer",
44
+ "image-viewer",
45
+ "video-player",
46
+ "audio-player",
47
+ "code-viewer",
48
+ "syntax-highlighter",
49
+ "client-side-preview",
50
+ "offline-preview",
51
+ "react",
52
+ "vue",
53
+ "angular",
54
+ "nextjs",
55
+ "universal-preview"
56
+ ],
57
+ "author": "Sumit Patel",
58
+ "license": "MIT",
59
+ "type": "module",
60
+ "main": "./dist/index.cjs",
61
+ "module": "./dist/index.js",
62
+ "types": "./dist/index.d.ts",
63
+ "exports": {
64
+ ".": {
65
+ "types": "./dist/index.d.ts",
66
+ "import": "./dist/index.js",
67
+ "require": "./dist/index.cjs"
68
+ },
69
+ "./react": {
70
+ "types": "./dist/react.d.ts",
71
+ "import": "./dist/react.js",
72
+ "require": "./dist/react.cjs"
73
+ },
74
+ "./vue": {
75
+ "types": "./dist/vue.d.ts",
76
+ "import": "./dist/vue.js",
77
+ "require": "./dist/vue.cjs"
78
+ },
79
+ "./angular": {
80
+ "types": "./dist/angular.d.ts",
81
+ "import": "./dist/angular.js",
82
+ "require": "./dist/angular.cjs"
83
+ },
84
+ "./styles.css": "./dist/styles.css"
85
+ },
86
+ "files": [
87
+ "dist",
88
+ "README.md",
89
+ "LICENSE",
90
+ "THIRD_PARTY_LICENSES.md"
91
+ ],
92
+ "publishConfig": {
93
+ "access": "public"
94
+ },
95
+ "repository": {
96
+ "type": "git",
97
+ "url": "https://github.com/patelsumit5192/preview-file.git"
98
+ },
99
+ "homepage": "https://github.com/patelsumit5192/preview-file#readme",
100
+ "bugs": {
101
+ "url": "https://github.com/patelsumit5192/preview-file/issues"
102
+ },
103
+ "scripts": {
104
+ "build": "tsup",
105
+ "dev": "tsup --watch",
106
+ "clean": "rimraf dist"
107
+ },
108
+ "dependencies": {
109
+ "@panzoom/panzoom": "^4.6.0",
110
+ "dompurify": "^3.2.4",
111
+ "docx-preview": "^0.3.2",
112
+ "exceljs": "^4.4.0",
113
+ "fflate": "^0.8.3",
114
+ "highlight.js": "^11.9.0",
115
+ "marked": "^18.0.13",
116
+ "papaparse": "^5.4.1",
117
+ "pdfjs-dist": "^4.10.38",
118
+ "pptx-browser": "^4.1.5",
119
+ "rtf.js": "^3.0.9",
120
+ "three": "^0.186.0",
121
+ "xlsx": "^0.18.5"
122
+ },
123
+ "peerDependencies": {
124
+ "@angular/common": ">=17.0.0",
125
+ "@angular/core": ">=17.0.0",
126
+ "react": ">=18.0.0",
127
+ "react-dom": ">=18.0.0",
128
+ "vue": ">=3.0.0"
129
+ },
130
+ "peerDependenciesMeta": {
131
+ "react": { "optional": true },
132
+ "react-dom": { "optional": true },
133
+ "vue": { "optional": true },
134
+ "@angular/core": { "optional": true },
135
+ "@angular/common": { "optional": true }
136
+ },
137
+ "devDependencies": {
138
+ "@angular/common": "^19.0.0",
139
+ "@angular/core": "^19.0.0",
140
+ "@patel.sumit51/angular": "workspace:*",
141
+ "@patel.sumit51/core": "workspace:*",
142
+ "@patel.sumit51/plugin-3d": "workspace:*",
143
+ "@patel.sumit51/plugin-archive": "workspace:*",
144
+ "@patel.sumit51/plugin-code": "workspace:*",
145
+ "@patel.sumit51/plugin-csv": "workspace:*",
146
+ "@patel.sumit51/plugin-doc": "workspace:*",
147
+ "@patel.sumit51/plugin-docx": "workspace:*",
148
+ "@patel.sumit51/plugin-excel": "workspace:*",
149
+ "@patel.sumit51/plugin-html-preview": "workspace:*",
150
+ "@patel.sumit51/plugin-markdown": "workspace:*",
151
+ "@patel.sumit51/plugin-media": "workspace:*",
152
+ "@patel.sumit51/plugin-opendocument": "workspace:*",
153
+ "@patel.sumit51/plugin-pdf": "workspace:*",
154
+ "@patel.sumit51/plugin-ppt": "workspace:*",
155
+ "@patel.sumit51/plugin-pptx": "workspace:*",
156
+ "@patel.sumit51/plugin-rtf": "workspace:*",
157
+ "@patel.sumit51/react": "workspace:*",
158
+ "@patel.sumit51/vue": "workspace:*",
159
+ "@types/react": "^18.3.0",
160
+ "@types/react-dom": "^18.3.0",
161
+ "@types/three": "^0.186.0",
162
+ "react": "^18.3.0",
163
+ "react-dom": "^18.3.0",
164
+ "rimraf": "^6.0.0",
165
+ "tsup": "^8.4.0",
166
+ "typescript": "~5.8.2",
167
+ "vue": "^3.5.0"
168
+ }
169
+ }