@pdfme/generator 2.0.0 → 2.0.2
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 +5 -3
- package/package.json +5 -2
package/README.md
CHANGED
@@ -53,21 +53,23 @@ As an example, the author's service [https://labelmake.jp/](https://labelmake.jp
|
|
53
53
|
|
54
54
|
## Installation
|
55
55
|
|
56
|
-
The operating requirements should be the node environment `>=
|
56
|
+
The operating requirements should be the node environment `>=16`.
|
57
57
|
There are two packages in pdfme, generator and UI.
|
58
58
|
|
59
59
|
The package for generating PDF can be installed with the following command.
|
60
60
|
|
61
61
|
```
|
62
|
-
npm i @pdfme/generator
|
62
|
+
npm i @pdfme/generator @pdfme/common
|
63
63
|
```
|
64
64
|
|
65
65
|
The packages for using PDF designer, forms and viewers can be installed with the following commands.
|
66
66
|
|
67
67
|
```
|
68
|
-
npm i @pdfme/ui
|
68
|
+
npm i @pdfme/ui @pdfme/common
|
69
69
|
```
|
70
70
|
|
71
|
+
*You must install `@pdfme/common` regardless of which package you use.
|
72
|
+
|
71
73
|
The following type, function and classes are available in pdfme.
|
72
74
|
|
73
75
|
`@pdfme/generator`
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pdfme/generator",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.2",
|
4
4
|
"sideEffects": false,
|
5
5
|
"author": "hand-dot",
|
6
6
|
"license": "MIT",
|
@@ -46,19 +46,22 @@
|
|
46
46
|
"prune": "ts-prune src"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@pdfme/common": "file:../common",
|
50
49
|
"@pdfme/pdf-lib": "^1.17.3",
|
51
50
|
"atob": "^2.1.2",
|
52
51
|
"bwip-js": "^3.2.2",
|
53
52
|
"fontkit": "^2.0.2"
|
54
53
|
},
|
55
54
|
"devDependencies": {
|
55
|
+
"@pdfme/common": "file:../common",
|
56
56
|
"@types/bwip-js": "^3.0.0",
|
57
57
|
"@types/pngjs": "^6.0.1",
|
58
58
|
"jsqr": "^1.4.0",
|
59
59
|
"pdf2json": "^2.0.0",
|
60
60
|
"pngjs": "^6.0.0"
|
61
61
|
},
|
62
|
+
"peerDependencies": {
|
63
|
+
"@pdfme/common": "^2.0.0"
|
64
|
+
},
|
62
65
|
"jest": {
|
63
66
|
"resolver": "ts-jest-resolver",
|
64
67
|
"moduleFileExtensions": [
|