medical-form-printer 0.2.0 → 0.3.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "medical-form-printer",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "A medical form print renderer - render structured form data to printable HTML/PDF",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -40,21 +40,22 @@
40
40
  "dist"
41
41
  ],
42
42
  "engines": {
43
- "node": ">=18.0.0"
43
+ "node": ">=20.19.0"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsup",
47
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",
48
+ "test": "npx vitest run",
49
+ "test:watch": "npx vitest",
50
+ "test:coverage": "npx vitest run --coverage",
51
+ "test:ui": "npx vitest --ui",
52
+ "test:storybook": "npx vitest --project=storybook",
53
53
  "lint": "eslint src",
54
54
  "typecheck": "tsc --noEmit",
55
55
  "storybook": "storybook dev -p 6006",
56
56
  "build-storybook": "storybook build",
57
- "prepublishOnly": "npm run build"
57
+ "prepublishOnly": "npm run build",
58
+ "chromatic": "npx chromatic --project-token=chpt_d07c2959b534f43"
58
59
  },
59
60
  "keywords": [
60
61
  "medical",
@@ -78,13 +79,18 @@
78
79
  "@storybook/addon-vitest": "^10.1.11",
79
80
  "@storybook/html": "^10.1.11",
80
81
  "@storybook/html-vite": "^10.1.11",
82
+ "@types/jsdom": "^27.0.0",
81
83
  "@types/node": "^20.19.27",
82
84
  "@types/puppeteer": "^5.4.7",
83
- "@vitest/browser": "^3.2.4",
84
- "@vitest/coverage-v8": "^3.2.4",
85
- "@vitest/ui": "^3.2.4",
85
+ "@vitest/browser": "^4.0.16",
86
+ "@vitest/browser-playwright": "4.0.16",
87
+ "@vitest/coverage-istanbul": "^4.0.16",
88
+ "@vitest/coverage-v8": "^4.0.16",
89
+ "@vitest/ui": "^4.0.16",
90
+ "chromatic": "^13.3.4",
86
91
  "eslint": "^8.57.1",
87
92
  "fast-check": "^3.23.2",
93
+ "jsdom": "^24.1.3",
88
94
  "playwright": "^1.57.0",
89
95
  "react": "^19.2.3",
90
96
  "react-dom": "^19.2.3",
@@ -93,9 +99,10 @@
93
99
  "tsup": "^8.5.1",
94
100
  "typescript": "^5.9.3",
95
101
  "typescript-eslint": "^8.51.0",
96
- "vitest": "^3.2.4"
102
+ "vitest": "^4.0.16"
97
103
  },
98
104
  "dependencies": {
105
+ "esbuild": "^0.27.2",
99
106
  "pdf-lib": "^1.17.1"
100
107
  },
101
108
  "peerDependencies": {
@@ -105,5 +112,8 @@
105
112
  "puppeteer": {
106
113
  "optional": true
107
114
  }
115
+ },
116
+ "optionalDependencies": {
117
+ "@rollup/rollup-darwin-arm64": "^4.54.0"
108
118
  }
109
119
  }