@papyrus-sdk/engine-epub 0.2.3 → 0.2.5
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/README.md +3 -1
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -5,9 +5,11 @@ Web engine for EPUB documents, built on top of `epubjs`.
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @papyrus-sdk/engine-epub
|
|
8
|
+
npm install @papyrus-sdk/engine-epub @papyrus-sdk/core @papyrus-sdk/types
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
`@papyrus-sdk/core` and `@papyrus-sdk/types` are required peer dependencies.
|
|
12
|
+
|
|
11
13
|
## Usage
|
|
12
14
|
|
|
13
15
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@papyrus-sdk/engine-epub",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"papyrus",
|
|
@@ -34,10 +34,16 @@
|
|
|
34
34
|
"url": "https://github.com/solrachix/Papyrus/issues"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@papyrus-sdk/core": "0.2.1",
|
|
38
|
-
"@papyrus-sdk/types": "0.2.1",
|
|
39
37
|
"epubjs": "^0.3.92"
|
|
40
38
|
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@papyrus-sdk/core": ">=0.2.1",
|
|
41
|
+
"@papyrus-sdk/types": ">=0.2.1"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@papyrus-sdk/core": "0.2.1",
|
|
45
|
+
"@papyrus-sdk/types": "0.2.1"
|
|
46
|
+
},
|
|
41
47
|
"scripts": {
|
|
42
48
|
"build": "tsup index.ts --dts --format cjs,esm --out-dir dist --clean --sourcemap"
|
|
43
49
|
}
|