pretext-pdf 0.9.2 → 0.9.3
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/CHANGELOG.md +27 -110
- package/README.md +795 -753
- package/dist/allowed-props.d.ts +40 -0
- package/dist/allowed-props.d.ts.map +1 -0
- package/dist/allowed-props.js +130 -0
- package/dist/allowed-props.js.map +1 -0
- package/dist/cli.js +19 -19
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/validate.d.ts +3 -1
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +115 -3
- package/dist/validate.js.map +1 -1
- package/package.json +184 -184
package/package.json
CHANGED
|
@@ -1,184 +1,184 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pretext-pdf",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"description": "Declarative JSON → PDF generation with professional typography. Built on pretext's precision text layout engine.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"pdf",
|
|
7
|
-
"pdf-generation",
|
|
8
|
-
"pretext",
|
|
9
|
-
"typography",
|
|
10
|
-
"invoice",
|
|
11
|
-
"report",
|
|
12
|
-
"document",
|
|
13
|
-
"typescript",
|
|
14
|
-
"nodejs",
|
|
15
|
-
"type-safe",
|
|
16
|
-
"forms",
|
|
17
|
-
"rtl",
|
|
18
|
-
"hyphenation"
|
|
19
|
-
],
|
|
20
|
-
"author": "Himanshu Jain <himanshu@antigravity.dev>",
|
|
21
|
-
"license": "MIT",
|
|
22
|
-
"homepage": "https://github.com/Himaan1998Y/pretext-pdf#readme",
|
|
23
|
-
"bugs": {
|
|
24
|
-
"url": "https://github.com/Himaan1998Y/pretext-pdf/issues"
|
|
25
|
-
},
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/Himaan1998Y/pretext-pdf.git"
|
|
29
|
-
},
|
|
30
|
-
"engines": {
|
|
31
|
-
"node": ">=18.0.0"
|
|
32
|
-
},
|
|
33
|
-
"sideEffects": false,
|
|
34
|
-
"type": "module",
|
|
35
|
-
"main": "./dist/index.js",
|
|
36
|
-
"types": "./dist/index.d.ts",
|
|
37
|
-
"bin": {
|
|
38
|
-
"pretext-pdf": "
|
|
39
|
-
},
|
|
40
|
-
"files": [
|
|
41
|
-
"dist/",
|
|
42
|
-
"fonts/",
|
|
43
|
-
"docs/screenshots/",
|
|
44
|
-
"README.md",
|
|
45
|
-
"LICENSE",
|
|
46
|
-
"CHANGELOG.md"
|
|
47
|
-
],
|
|
48
|
-
"exports": {
|
|
49
|
-
".": {
|
|
50
|
-
"types": "./dist/index.d.ts",
|
|
51
|
-
"import": "./dist/index.js"
|
|
52
|
-
},
|
|
53
|
-
"./markdown": {
|
|
54
|
-
"types": "./dist/markdown.d.ts",
|
|
55
|
-
"import": "./dist/markdown.js"
|
|
56
|
-
},
|
|
57
|
-
"./templates": {
|
|
58
|
-
"types": "./dist/templates.d.ts",
|
|
59
|
-
"import": "./dist/templates.js"
|
|
60
|
-
},
|
|
61
|
-
"./compat": {
|
|
62
|
-
"types": "./dist/compat.d.ts",
|
|
63
|
-
"import": "./dist/compat.js"
|
|
64
|
-
},
|
|
65
|
-
"./package.json": "./package.json"
|
|
66
|
-
},
|
|
67
|
-
"scripts": {
|
|
68
|
-
"build": "tsc",
|
|
69
|
-
"test:unit": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsx --test test/validate.test.ts test/builder.test.ts test/rich-text.test.ts",
|
|
70
|
-
"test:validate": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsx --test test/validate.test.ts test/builder.test.ts",
|
|
71
|
-
"test:e2e": "tsx --test test/e2e.test.ts",
|
|
72
|
-
"test:phase-3": "tsx --test test/phase-3-signatures.test.ts",
|
|
73
|
-
"test:10a": "tsx --test test/phase-10a-qr-barcode.test.ts",
|
|
74
|
-
"test:10b": "tsx --test test/phase-10b-charts.test.ts",
|
|
75
|
-
"test:10c": "tsx --test test/phase-10c-markdown.test.ts",
|
|
76
|
-
"test:10d": "tsx --test test/phase-10d-templates.test.ts",
|
|
77
|
-
"test:phase-4": "tsx --test test/phase-4-footnotes.test.ts",
|
|
78
|
-
"test:phase-5": "tsx --test test/phase-5-image-float.test.ts",
|
|
79
|
-
"test:phases": "tsx --test test/phase-4-footnotes.test.ts test/phase-5-image-float.test.ts test/phase-7a.test.ts test/phase-7b.test.ts test/phase-7c.test.ts test/phase-7d-toc.test.ts test/phase-7e-svg.test.ts test/phase-7f-rtl.test.ts test/phase-7g.test.ts test/phase-7-integration.test.ts test/phase-8g-hyperlinks.test.ts test/phase-8h-inline-formatting.test.ts test/phase-8a-annotations.test.ts test/phase-8c-assembly.test.ts test/phase-8f-metadata.test.ts test/phase-8e-signatures.test.ts test/phase-8b-forms.test.ts test/phase-8d-callout.test.ts test/phase-9a-crypto-signatures.test.ts test/phase-9b-float-groups.test.ts test/phase-9c-font-subsetting.test.ts test/phase-2-performance.test.ts test/phase-3-signatures.test.ts test/phase-11-enhancements.test.ts test/phase-10a-qr-barcode.test.ts test/phase-10b-charts.test.ts test/phase-10c-markdown.test.ts test/phase-10d-templates.test.ts test/v0.8.3-ssrf.test.ts test/v0.9.0-features.test.ts",
|
|
80
|
-
"test:phase-7": "tsx --test test/phase-7a.test.ts test/phase-7b.test.ts test/phase-7c.test.ts test/phase-7d-toc.test.ts test/phase-7e-svg.test.ts test/phase-7f-rtl.test.ts test/phase-7g.test.ts test/phase-7-integration.test.ts",
|
|
81
|
-
"test:phase-8": "tsx --test test/phase-8g-hyperlinks.test.ts test/phase-8h-inline-formatting.test.ts test/phase-8a-annotations.test.ts test/phase-8c-assembly.test.ts test/phase-8b-forms.test.ts test/phase-8d-callout.test.ts test/phase-8e-signatures.test.ts test/phase-8f-metadata.test.ts",
|
|
82
|
-
"test:8d": "tsx --test test/phase-8d-callout.test.ts",
|
|
83
|
-
"test:8f": "tsx --test test/phase-8f-metadata.test.ts",
|
|
84
|
-
"test:8e": "tsx --test test/phase-8e-signatures.test.ts",
|
|
85
|
-
"test:8b": "tsx --test test/phase-8b-forms.test.ts",
|
|
86
|
-
"test:contract": "tsx --test test/pretext-api-contract.test.ts",
|
|
87
|
-
"test:2f": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsx --test test/phase-2f-stress.test.ts",
|
|
88
|
-
"test": "npm run test:contract && npm run test:unit && npm run test:e2e && npm run test:phases && npm run test:2f",
|
|
89
|
-
"verify:badges": "cross-env SKIP_TEST_RUN=1 node scripts/verify-badges.js",
|
|
90
|
-
"verify:badges:full": "node scripts/verify-badges.js",
|
|
91
|
-
"test:rich": "tsx --test test/rich-text.test.ts",
|
|
92
|
-
"test:visual": "tsx --test test/visual/visual.test.ts",
|
|
93
|
-
"test:visual:update": "cross-env UPDATE_BASELINES=1 tsx test/visual/visual.test.ts",
|
|
94
|
-
"example": "tsx examples/invoice.ts",
|
|
95
|
-
"example:watermark": "tsx examples/phase7-watermark.ts",
|
|
96
|
-
"example:bookmarks": "tsx examples/phase7-bookmarks.ts",
|
|
97
|
-
"example:toc": "tsx examples/phase7-toc.ts",
|
|
98
|
-
"example:rtl": "tsx examples/phase7-rtl.ts",
|
|
99
|
-
"example:encryption": "tsx examples/phase7-encryption.ts",
|
|
100
|
-
"example:hyperlinks": "tsx examples/phase8-hyperlinks.ts",
|
|
101
|
-
"example:annotations": "tsx examples/phase8-annotations.ts",
|
|
102
|
-
"example:assembly": "tsx examples/phase8-assembly.ts",
|
|
103
|
-
"example:inline": "tsx examples/phase8-inline.ts",
|
|
104
|
-
"example:forms": "tsx examples/phase8-forms.ts",
|
|
105
|
-
"example:callout": "tsx examples/phase8-callout.ts",
|
|
106
|
-
"example:gst": "tsx examples/gst-invoice-india.ts",
|
|
107
|
-
"example:floats": "tsx examples/phase9b-float-groups.ts",
|
|
108
|
-
"example:showcase-invoice": "tsx examples/showcase-invoice.ts",
|
|
109
|
-
"example:showcase-report": "tsx examples/showcase-report.ts",
|
|
110
|
-
"example:showcase-resume": "tsx examples/showcase-resume.ts",
|
|
111
|
-
"screenshots": "npm run example:showcase-invoice && npm run example:showcase-report && npm run example:showcase-resume && node scripts/screenshot.cjs",
|
|
112
|
-
"typecheck": "tsc --noEmit"
|
|
113
|
-
},
|
|
114
|
-
"dependencies": {
|
|
115
|
-
"@cantoo/pdf-lib": "^2.6.5",
|
|
116
|
-
"@chenglou/pretext": "^0.0.6",
|
|
117
|
-
"@fontsource-variable/inter": "^5.2.8",
|
|
118
|
-
"@fontsource/inter": "^5.0.0",
|
|
119
|
-
"@pdf-lib/fontkit": "^1.1.1",
|
|
120
|
-
"bidi-js": "^1.0.3",
|
|
121
|
-
"hyphenation.en-us": "^0.2.1",
|
|
122
|
-
"hypher": "^0.2.5"
|
|
123
|
-
},
|
|
124
|
-
"peerDependencies": {
|
|
125
|
-
"@napi-rs/canvas": "^0.1.57",
|
|
126
|
-
"@signpdf/signpdf": "^3.3.0",
|
|
127
|
-
"bwip-js": "^4.0.0",
|
|
128
|
-
"highlight.js": "^11.0.0",
|
|
129
|
-
"marked": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
|
|
130
|
-
"qrcode": "^1.5.0",
|
|
131
|
-
"vega": "^5.0.0 || ^6.0.0",
|
|
132
|
-
"vega-lite": "^5.0.0 || ^6.0.0"
|
|
133
|
-
},
|
|
134
|
-
"peerDependenciesMeta": {
|
|
135
|
-
"@napi-rs/canvas": {
|
|
136
|
-
"optional": true
|
|
137
|
-
},
|
|
138
|
-
"@signpdf/signpdf": {
|
|
139
|
-
"optional": true
|
|
140
|
-
},
|
|
141
|
-
"highlight.js": {
|
|
142
|
-
"optional": true
|
|
143
|
-
},
|
|
144
|
-
"qrcode": {
|
|
145
|
-
"optional": true
|
|
146
|
-
},
|
|
147
|
-
"bwip-js": {
|
|
148
|
-
"optional": true
|
|
149
|
-
},
|
|
150
|
-
"marked": {
|
|
151
|
-
"optional": true
|
|
152
|
-
},
|
|
153
|
-
"vega": {
|
|
154
|
-
"optional": true
|
|
155
|
-
},
|
|
156
|
-
"vega-lite": {
|
|
157
|
-
"optional": true
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"devDependencies": {
|
|
161
|
-
"@signpdf/signpdf": "^3.3.0",
|
|
162
|
-
"@types/bwip-js": "^3.2.3",
|
|
163
|
-
"@types/node": "^22.0.0",
|
|
164
|
-
"@types/pixelmatch": "^5.2.6",
|
|
165
|
-
"@types/pngjs": "^6.0.5",
|
|
166
|
-
"@types/qrcode": "^1.5.6",
|
|
167
|
-
"bwip-js": "^4.9.2",
|
|
168
|
-
"cross-env": "^10.1.0",
|
|
169
|
-
"highlight.js": "^11.11.1",
|
|
170
|
-
"marked": "^18.0.2",
|
|
171
|
-
"pdfjs-dist": "^5.6.205",
|
|
172
|
-
"qrcode": "^1.5.4",
|
|
173
|
-
"ts-node": "^10.9.2",
|
|
174
|
-
"tsx": "^4.7.0",
|
|
175
|
-
"typescript": "^5.5.0",
|
|
176
|
-
"vega": "^6.2.0",
|
|
177
|
-
"vega-lite": "^6.4.2"
|
|
178
|
-
},
|
|
179
|
-
"optionalDependencies": {
|
|
180
|
-
"@napi-rs/canvas": "^0.1.57",
|
|
181
|
-
"pixelmatch": "^7.1.0",
|
|
182
|
-
"pngjs": "^7.0.0"
|
|
183
|
-
}
|
|
184
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pretext-pdf",
|
|
3
|
+
"version": "0.9.3",
|
|
4
|
+
"description": "Declarative JSON → PDF generation with professional typography. Built on pretext's precision text layout engine.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pdf",
|
|
7
|
+
"pdf-generation",
|
|
8
|
+
"pretext",
|
|
9
|
+
"typography",
|
|
10
|
+
"invoice",
|
|
11
|
+
"report",
|
|
12
|
+
"document",
|
|
13
|
+
"typescript",
|
|
14
|
+
"nodejs",
|
|
15
|
+
"type-safe",
|
|
16
|
+
"forms",
|
|
17
|
+
"rtl",
|
|
18
|
+
"hyphenation"
|
|
19
|
+
],
|
|
20
|
+
"author": "Himanshu Jain <himanshu@antigravity.dev>",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"homepage": "https://github.com/Himaan1998Y/pretext-pdf#readme",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/Himaan1998Y/pretext-pdf/issues"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/Himaan1998Y/pretext-pdf.git"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=18.0.0"
|
|
32
|
+
},
|
|
33
|
+
"sideEffects": false,
|
|
34
|
+
"type": "module",
|
|
35
|
+
"main": "./dist/index.js",
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"bin": {
|
|
38
|
+
"pretext-pdf": "dist/cli.js"
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"dist/",
|
|
42
|
+
"fonts/",
|
|
43
|
+
"docs/screenshots/",
|
|
44
|
+
"README.md",
|
|
45
|
+
"LICENSE",
|
|
46
|
+
"CHANGELOG.md"
|
|
47
|
+
],
|
|
48
|
+
"exports": {
|
|
49
|
+
".": {
|
|
50
|
+
"types": "./dist/index.d.ts",
|
|
51
|
+
"import": "./dist/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./markdown": {
|
|
54
|
+
"types": "./dist/markdown.d.ts",
|
|
55
|
+
"import": "./dist/markdown.js"
|
|
56
|
+
},
|
|
57
|
+
"./templates": {
|
|
58
|
+
"types": "./dist/templates.d.ts",
|
|
59
|
+
"import": "./dist/templates.js"
|
|
60
|
+
},
|
|
61
|
+
"./compat": {
|
|
62
|
+
"types": "./dist/compat.d.ts",
|
|
63
|
+
"import": "./dist/compat.js"
|
|
64
|
+
},
|
|
65
|
+
"./package.json": "./package.json"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "tsc",
|
|
69
|
+
"test:unit": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsx --test test/validate.test.ts test/builder.test.ts test/rich-text.test.ts",
|
|
70
|
+
"test:validate": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsx --test test/validate.test.ts test/builder.test.ts",
|
|
71
|
+
"test:e2e": "tsx --test test/e2e.test.ts",
|
|
72
|
+
"test:phase-3": "tsx --test test/phase-3-signatures.test.ts",
|
|
73
|
+
"test:10a": "tsx --test test/phase-10a-qr-barcode.test.ts",
|
|
74
|
+
"test:10b": "tsx --test test/phase-10b-charts.test.ts",
|
|
75
|
+
"test:10c": "tsx --test test/phase-10c-markdown.test.ts",
|
|
76
|
+
"test:10d": "tsx --test test/phase-10d-templates.test.ts",
|
|
77
|
+
"test:phase-4": "tsx --test test/phase-4-footnotes.test.ts",
|
|
78
|
+
"test:phase-5": "tsx --test test/phase-5-image-float.test.ts",
|
|
79
|
+
"test:phases": "tsx --test test/phase-4-footnotes.test.ts test/phase-5-image-float.test.ts test/phase-7a.test.ts test/phase-7b.test.ts test/phase-7c.test.ts test/phase-7d-toc.test.ts test/phase-7e-svg.test.ts test/phase-7f-rtl.test.ts test/phase-7g.test.ts test/phase-7-integration.test.ts test/phase-8g-hyperlinks.test.ts test/phase-8h-inline-formatting.test.ts test/phase-8a-annotations.test.ts test/phase-8c-assembly.test.ts test/phase-8f-metadata.test.ts test/phase-8e-signatures.test.ts test/phase-8b-forms.test.ts test/phase-8d-callout.test.ts test/phase-9a-crypto-signatures.test.ts test/phase-9b-float-groups.test.ts test/phase-9c-font-subsetting.test.ts test/phase-2-performance.test.ts test/phase-3-signatures.test.ts test/phase-11-enhancements.test.ts test/phase-10a-qr-barcode.test.ts test/phase-10b-charts.test.ts test/phase-10c-markdown.test.ts test/phase-10d-templates.test.ts test/v0.8.3-ssrf.test.ts test/v0.9.0-features.test.ts",
|
|
80
|
+
"test:phase-7": "tsx --test test/phase-7a.test.ts test/phase-7b.test.ts test/phase-7c.test.ts test/phase-7d-toc.test.ts test/phase-7e-svg.test.ts test/phase-7f-rtl.test.ts test/phase-7g.test.ts test/phase-7-integration.test.ts",
|
|
81
|
+
"test:phase-8": "tsx --test test/phase-8g-hyperlinks.test.ts test/phase-8h-inline-formatting.test.ts test/phase-8a-annotations.test.ts test/phase-8c-assembly.test.ts test/phase-8b-forms.test.ts test/phase-8d-callout.test.ts test/phase-8e-signatures.test.ts test/phase-8f-metadata.test.ts",
|
|
82
|
+
"test:8d": "tsx --test test/phase-8d-callout.test.ts",
|
|
83
|
+
"test:8f": "tsx --test test/phase-8f-metadata.test.ts",
|
|
84
|
+
"test:8e": "tsx --test test/phase-8e-signatures.test.ts",
|
|
85
|
+
"test:8b": "tsx --test test/phase-8b-forms.test.ts",
|
|
86
|
+
"test:contract": "tsx --test test/pretext-api-contract.test.ts",
|
|
87
|
+
"test:2f": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsx --test test/phase-2f-stress.test.ts",
|
|
88
|
+
"test": "npm run test:contract && npm run test:unit && npm run test:e2e && npm run test:phases && npm run test:2f",
|
|
89
|
+
"verify:badges": "cross-env SKIP_TEST_RUN=1 node scripts/verify-badges.js",
|
|
90
|
+
"verify:badges:full": "node scripts/verify-badges.js",
|
|
91
|
+
"test:rich": "tsx --test test/rich-text.test.ts",
|
|
92
|
+
"test:visual": "tsx --test test/visual/visual.test.ts",
|
|
93
|
+
"test:visual:update": "cross-env UPDATE_BASELINES=1 tsx test/visual/visual.test.ts",
|
|
94
|
+
"example": "tsx examples/invoice.ts",
|
|
95
|
+
"example:watermark": "tsx examples/phase7-watermark.ts",
|
|
96
|
+
"example:bookmarks": "tsx examples/phase7-bookmarks.ts",
|
|
97
|
+
"example:toc": "tsx examples/phase7-toc.ts",
|
|
98
|
+
"example:rtl": "tsx examples/phase7-rtl.ts",
|
|
99
|
+
"example:encryption": "tsx examples/phase7-encryption.ts",
|
|
100
|
+
"example:hyperlinks": "tsx examples/phase8-hyperlinks.ts",
|
|
101
|
+
"example:annotations": "tsx examples/phase8-annotations.ts",
|
|
102
|
+
"example:assembly": "tsx examples/phase8-assembly.ts",
|
|
103
|
+
"example:inline": "tsx examples/phase8-inline.ts",
|
|
104
|
+
"example:forms": "tsx examples/phase8-forms.ts",
|
|
105
|
+
"example:callout": "tsx examples/phase8-callout.ts",
|
|
106
|
+
"example:gst": "tsx examples/gst-invoice-india.ts",
|
|
107
|
+
"example:floats": "tsx examples/phase9b-float-groups.ts",
|
|
108
|
+
"example:showcase-invoice": "tsx examples/showcase-invoice.ts",
|
|
109
|
+
"example:showcase-report": "tsx examples/showcase-report.ts",
|
|
110
|
+
"example:showcase-resume": "tsx examples/showcase-resume.ts",
|
|
111
|
+
"screenshots": "npm run example:showcase-invoice && npm run example:showcase-report && npm run example:showcase-resume && node scripts/screenshot.cjs",
|
|
112
|
+
"typecheck": "tsc --noEmit"
|
|
113
|
+
},
|
|
114
|
+
"dependencies": {
|
|
115
|
+
"@cantoo/pdf-lib": "^2.6.5",
|
|
116
|
+
"@chenglou/pretext": "^0.0.6",
|
|
117
|
+
"@fontsource-variable/inter": "^5.2.8",
|
|
118
|
+
"@fontsource/inter": "^5.0.0",
|
|
119
|
+
"@pdf-lib/fontkit": "^1.1.1",
|
|
120
|
+
"bidi-js": "^1.0.3",
|
|
121
|
+
"hyphenation.en-us": "^0.2.1",
|
|
122
|
+
"hypher": "^0.2.5"
|
|
123
|
+
},
|
|
124
|
+
"peerDependencies": {
|
|
125
|
+
"@napi-rs/canvas": "^0.1.57",
|
|
126
|
+
"@signpdf/signpdf": "^3.3.0",
|
|
127
|
+
"bwip-js": "^4.0.0",
|
|
128
|
+
"highlight.js": "^11.0.0",
|
|
129
|
+
"marked": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
|
|
130
|
+
"qrcode": "^1.5.0",
|
|
131
|
+
"vega": "^5.0.0 || ^6.0.0",
|
|
132
|
+
"vega-lite": "^5.0.0 || ^6.0.0"
|
|
133
|
+
},
|
|
134
|
+
"peerDependenciesMeta": {
|
|
135
|
+
"@napi-rs/canvas": {
|
|
136
|
+
"optional": true
|
|
137
|
+
},
|
|
138
|
+
"@signpdf/signpdf": {
|
|
139
|
+
"optional": true
|
|
140
|
+
},
|
|
141
|
+
"highlight.js": {
|
|
142
|
+
"optional": true
|
|
143
|
+
},
|
|
144
|
+
"qrcode": {
|
|
145
|
+
"optional": true
|
|
146
|
+
},
|
|
147
|
+
"bwip-js": {
|
|
148
|
+
"optional": true
|
|
149
|
+
},
|
|
150
|
+
"marked": {
|
|
151
|
+
"optional": true
|
|
152
|
+
},
|
|
153
|
+
"vega": {
|
|
154
|
+
"optional": true
|
|
155
|
+
},
|
|
156
|
+
"vega-lite": {
|
|
157
|
+
"optional": true
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"devDependencies": {
|
|
161
|
+
"@signpdf/signpdf": "^3.3.0",
|
|
162
|
+
"@types/bwip-js": "^3.2.3",
|
|
163
|
+
"@types/node": "^22.0.0",
|
|
164
|
+
"@types/pixelmatch": "^5.2.6",
|
|
165
|
+
"@types/pngjs": "^6.0.5",
|
|
166
|
+
"@types/qrcode": "^1.5.6",
|
|
167
|
+
"bwip-js": "^4.9.2",
|
|
168
|
+
"cross-env": "^10.1.0",
|
|
169
|
+
"highlight.js": "^11.11.1",
|
|
170
|
+
"marked": "^18.0.2",
|
|
171
|
+
"pdfjs-dist": "^5.6.205",
|
|
172
|
+
"qrcode": "^1.5.4",
|
|
173
|
+
"ts-node": "^10.9.2",
|
|
174
|
+
"tsx": "^4.7.0",
|
|
175
|
+
"typescript": "^5.5.0",
|
|
176
|
+
"vega": "^6.2.0",
|
|
177
|
+
"vega-lite": "^6.4.2"
|
|
178
|
+
},
|
|
179
|
+
"optionalDependencies": {
|
|
180
|
+
"@napi-rs/canvas": "^0.1.57",
|
|
181
|
+
"pixelmatch": "^7.1.0",
|
|
182
|
+
"pngjs": "^7.0.0"
|
|
183
|
+
}
|
|
184
|
+
}
|