@christophervr/pptx-viewer 1.6.0 → 1.7.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@christophervr/pptx-viewer",
3
- "version": "1.6.0",
4
- "description": "Interactive installer for the pptx-viewer family of packages: React, Vue, Angular, Svelte, and vanilla JS viewer components, the framework-agnostic core engine, and the MCP server.",
3
+ "version": "1.7.0",
4
+ "description": "Interactive installer for the pptx-viewer family of packages (React, Vue, Angular, Svelte, vanilla JS, the core engine, the MCP server). Also a drop-in for pptx-react-viewer: importing this package re-exports the React component.",
5
5
  "keywords": [
6
6
  "angular",
7
7
  "cli",
@@ -30,7 +30,7 @@
30
30
  "directory": "packages/cli"
31
31
  },
32
32
  "bin": {
33
- "pptx-viewer": "./dist/index.mjs"
33
+ "pptx-viewer": "./dist/cli.mjs"
34
34
  },
35
35
  "files": [
36
36
  "dist/",
@@ -40,25 +40,90 @@
40
40
  "README.md"
41
41
  ],
42
42
  "main": "dist/index.mjs",
43
- "types": "dist/index.d.mts",
43
+ "module": "dist/index.mjs",
44
+ "types": "dist/index.d.ts",
45
+ "exports": {
46
+ ".": {
47
+ "types": "./dist/index.d.ts",
48
+ "import": "./dist/index.mjs",
49
+ "require": "./dist/index.js"
50
+ }
51
+ },
44
52
  "publishConfig": {
45
53
  "access": "public"
46
54
  },
47
55
  "scripts": {
48
- "build": "tsup && tsdown && node ../../scripts/merge-declarations.mjs && node -e \"require('fs').chmodSync('dist/index.mjs', 0o755)\"",
56
+ "build": "tsup && tsdown && node ../../scripts/merge-declarations.mjs && node -e \"require('fs').chmodSync('dist/cli.mjs', 0o755)\"",
49
57
  "dev": "tsup --watch",
50
58
  "typecheck": "tsc --noEmit --pretty",
51
59
  "test": "vitest run",
52
60
  "test:watch": "vitest",
53
61
  "pack": "bun run build && bun pm pack"
54
62
  },
63
+ "dependencies": {
64
+ "pptx-react-viewer": "^2.19.7"
65
+ },
55
66
  "devDependencies": {
56
67
  "@types/node": "^26.1.1",
68
+ "@types/react": "^19.2.17",
69
+ "@types/react-dom": "^19.2.3",
57
70
  "tsdown": "^0.22.14",
58
71
  "tsup": "^8.5.1",
59
72
  "typescript": "^7.0.2",
60
73
  "vitest": "^4.1.10"
61
74
  },
75
+ "peerDependencies": {
76
+ "@ai-sdk/react": "^4.0.59",
77
+ "ai": ">=6 <8",
78
+ "fast-xml-parser": "^5.10.1",
79
+ "framer-motion": "^12.42.2",
80
+ "i18next": "^26.3.6",
81
+ "jspdf": "^4.2.1",
82
+ "jszip": "^3.10.1",
83
+ "lucide-react": "^1.24.0",
84
+ "react": "^18.2.0 || ^19.0.0",
85
+ "react-dom": "^18.2.0 || ^19.0.0",
86
+ "react-i18next": "^17.0.9",
87
+ "react-icons": "^5.7.0"
88
+ },
89
+ "peerDependenciesMeta": {
90
+ "@ai-sdk/react": {
91
+ "optional": true
92
+ },
93
+ "ai": {
94
+ "optional": true
95
+ },
96
+ "fast-xml-parser": {
97
+ "optional": true
98
+ },
99
+ "framer-motion": {
100
+ "optional": true
101
+ },
102
+ "i18next": {
103
+ "optional": true
104
+ },
105
+ "jspdf": {
106
+ "optional": true
107
+ },
108
+ "jszip": {
109
+ "optional": true
110
+ },
111
+ "lucide-react": {
112
+ "optional": true
113
+ },
114
+ "react": {
115
+ "optional": true
116
+ },
117
+ "react-dom": {
118
+ "optional": true
119
+ },
120
+ "react-i18next": {
121
+ "optional": true
122
+ },
123
+ "react-icons": {
124
+ "optional": true
125
+ }
126
+ },
62
127
  "engines": {
63
128
  "node": ">=18"
64
129
  }