flipbookengine 0.4.0 → 0.5.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.
@@ -1,4 +1,4 @@
1
- import { F as s, i as a, n as e } from "./engine-G9HiVpA-.js";
1
+ import { F as s, i as a, n as e } from "./engine-BuVkDIh-.js";
2
2
  export {
3
3
  s as FlipbookEngine,
4
4
  a as isFlipbookPageAsset,
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { forwardRef as P, useRef as g, useImperativeHandle as x, useEffect as c } from "react";
3
- import { F as d } from "./engine-G9HiVpA-.js";
3
+ import { F as d } from "./engine-BuVkDIh-.js";
4
4
  const v = P(({
5
5
  className: a,
6
6
  style: f,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, ref as s, onMounted as g, onBeforeUnmount as P, watch as l, h as c } from "vue";
2
- import { F as h } from "./engine-G9HiVpA-.js";
2
+ import { F as h } from "./engine-BuVkDIh-.js";
3
3
  const v = d({
4
4
  name: "Flipbook",
5
5
  props: {
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "flipbookengine",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "A modern, embeddable HTML flipbook engine for PDF-backed catalogs and digital publications.",
5
5
  "private": false,
6
6
  "scripts": {
7
7
  "dev": "vite",
8
8
  "build": "vite build && vite build --config vite.config.iife.js",
9
9
  "test": "tsx --loader ./tests/css-loader.js --test tests/*.test.ts",
10
+ "test:e2e": "playwright test",
10
11
  "typecheck": "tsc --noEmit",
11
12
  "clean": "rimraf dist",
12
13
  "pack:check": "npm pack --dry-run",
@@ -87,12 +88,15 @@
87
88
  }
88
89
  },
89
90
  "devDependencies": {
91
+ "@playwright/test": "^1.63.0",
90
92
  "@types/jsdom": "^28.0.3",
91
93
  "@types/node": "^25.0.10",
92
94
  "@types/page-flip": "^2.0.4",
93
95
  "@types/react": "^19.2.14",
96
+ "@types/react-dom": "^19.2.3",
94
97
  "jsdom": "^29.1.1",
95
98
  "react": "^19.2.6",
99
+ "react-dom": "^19.2.6",
96
100
  "rimraf": "^6.0.0",
97
101
  "tsx": "^4.22.4",
98
102
  "typescript": "^5.0.0",
@@ -108,6 +112,3 @@
108
112
  "pdfjs-dist": "^5.4.530"
109
113
  }
110
114
  }
111
-
112
-
113
-