medical-form-printer 0.1.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 ADDED
@@ -0,0 +1,107 @@
1
+ {
2
+ "name": "medical-form-printer",
3
+ "version": "0.1.0",
4
+ "description": "A medical form print renderer - render structured form data to printable HTML/PDF",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ },
20
+ "./node": {
21
+ "import": {
22
+ "types": "./dist/node.d.ts",
23
+ "default": "./dist/node.js"
24
+ },
25
+ "require": {
26
+ "types": "./dist/node.d.cts",
27
+ "default": "./dist/node.cjs"
28
+ }
29
+ }
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/wangchengshi-ship-it/medical-form-printer.git"
34
+ },
35
+ "homepage": "https://github.com/wangchengshi-ship-it/medical-form-printer#readme",
36
+ "bugs": {
37
+ "url": "https://github.com/wangchengshi-ship-it/medical-form-printer/issues"
38
+ },
39
+ "files": [
40
+ "dist"
41
+ ],
42
+ "engines": {
43
+ "node": ">=18.0.0"
44
+ },
45
+ "scripts": {
46
+ "build": "tsup",
47
+ "dev": "tsup --watch",
48
+ "test": "vitest run",
49
+ "test:watch": "vitest",
50
+ "test:coverage": "vitest run --coverage",
51
+ "test:ui": "vitest --ui",
52
+ "test:storybook": "vitest --project=storybook",
53
+ "lint": "eslint src --ext .ts",
54
+ "typecheck": "tsc --noEmit",
55
+ "storybook": "storybook dev -p 6006",
56
+ "build-storybook": "storybook build",
57
+ "prepublishOnly": "npm run build"
58
+ },
59
+ "keywords": [
60
+ "medical",
61
+ "form",
62
+ "print",
63
+ "pdf",
64
+ "renderer",
65
+ "healthcare",
66
+ "emr",
67
+ "html-to-pdf",
68
+ "medical-records",
69
+ "document-generation"
70
+ ],
71
+ "author": "",
72
+ "license": "MIT",
73
+ "devDependencies": {
74
+ "@storybook/addon-a11y": "^10.1.11",
75
+ "@storybook/addon-docs": "^10.1.11",
76
+ "@storybook/addon-links": "^10.1.11",
77
+ "@storybook/addon-vitest": "^10.1.11",
78
+ "@storybook/html": "^10.1.11",
79
+ "@storybook/html-vite": "^10.1.11",
80
+ "@types/node": "^20.0.0",
81
+ "@types/puppeteer": "^5.4.7",
82
+ "@vitest/browser": "^3.2.0",
83
+ "@vitest/coverage-v8": "^3.2.0",
84
+ "@vitest/ui": "^3.2.0",
85
+ "eslint": "^8.55.0",
86
+ "fast-check": "^3.15.0",
87
+ "playwright": "^1.40.0",
88
+ "react": "^19.2.3",
89
+ "react-dom": "^19.2.3",
90
+ "storybook": "^10.1.11",
91
+ "subset-font": "^2.4.0",
92
+ "tsup": "^8.0.1",
93
+ "typescript": "^5.3.0",
94
+ "vitest": "^3.2.0"
95
+ },
96
+ "dependencies": {
97
+ "pdf-lib": "^1.17.1"
98
+ },
99
+ "peerDependencies": {
100
+ "puppeteer": "^21.0.0"
101
+ },
102
+ "peerDependenciesMeta": {
103
+ "puppeteer": {
104
+ "optional": true
105
+ }
106
+ }
107
+ }