# NPM Publication Checklist Verified as part of JSUI-WP-0002 (2026-07-08). ## Build outputs - [x] `npm run build` / `npm run build:prod` produces `dist/` bundles - [x] `dist/testdrive-jsui.cjs.js` — CommonJS entry (`package.json` `main`) - [x] `dist/testdrive-jsui.esm.js` — ESM entry (`module`) - [x] `dist/testdrive-jsui.min.js` — UMD/browser (`browser`, `unpkg`, `jsdelivr`) - [x] `dist/testdrive-jsui.css` — packaged styles (`style` field) ## Browser smoke - [x] `test/minified-test.html` — UMD smoke file present (manual browser open) - [x] `test/esm-test.html` — ESM smoke file present - [x] `test/umd-test.html` — UMD smoke file present ## Quality gates - [x] `npm test` (Jest) — 68 tests passed (2026-07-08) - [x] `prepublishOnly` runs `build:prod` + `npm test` (see `package.json` scripts) - [x] `npm pack --dry-run` lists dist + README/LICENSE/CHANGELOG ## README install examples - [ ] npm: `npm install testdrive-jsui` - [ ] CDN script tags documented in README Quick Start - [ ] `marked` documented as peer dependency ## Post-publish - [ ] Tag release in Forgejo - [ ] Confirm jsdelivr/unpkg resolve `dist/testdrive-jsui.min.js`