{"_id":"@cotherapist/unified-report","_rev":"2-f77f1f40b1c089016748df98cf8d9081","name":"@cotherapist/unified-report","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@cotherapist/unified-report","version":"0.1.0","keywords":["stimulus","cotherapist","unified-report","psychometrics","hotwired"],"license":"MIT","_id":"@cotherapist/unified-report@0.1.0","maintainers":[{"name":"ilyario","email":"ponomarevid@ya.ru"}],"homepage":"https://github.com/cotherapist-ru/unified-report#readme","bugs":{"url":"https://github.com/cotherapist-ru/unified-report/issues"},"dist":{"shasum":"c2283015962dca1bab35c643c0150e7f5de11206","tarball":"https://registry.npmjs.org/@cotherapist/unified-report/-/unified-report-0.1.0.tgz","fileCount":12,"integrity":"sha512-QejdpOvFmrHTGqeZVzTCyt/IqlWrYI4UNL4EPQx4aZiLb7xfYrb0Zea/x4yHvHtzKlumQq3dvhEVf3iT5N0log==","signatures":[{"sig":"MEQCIEztPvJinDPnYcwW/BLi5gWhPEntja1ILstPLluSjJMwAiBcRUSpiUvz1etGNxZq8g+a20f7q1NJ3spqcgiRKO6QxA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71973},"main":"./src/index.js","type":"module","engines":{"node":">=18"},"exports":{".":"./src/index.js","./styles.css":"./styles.css","./controllers/*":"./src/controllers/*"},"gitHead":"2c5d0e4cc01f3506c3de4984d7d224f0e5238ec1","scripts":{"test":"node --test test/*.test.js"},"_npmUser":{"name":"ilyario","email":"ponomarevid@ya.ru"},"repository":{"url":"git+https://github.com/cotherapist-ru/unified-report.git","type":"git"},"_npmVersion":"11.5.2","description":"Stimulus renderer for Cotherapist v1_unified_report sections","directories":{},"_nodeVersion":"22.10.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^24.1.3","@hotwired/stimulus":"^3.2.2"},"peerDependencies":{"@hotwired/stimulus":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/unified-report_0.1.0_1784111651092_0.023614203698868907","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cotherapist/unified-report","version":"0.1.1","description":"Stimulus renderer for Cotherapist v1_unified_report sections","type":"module","main":"./src/index.js","exports":{".":"./src/index.js","./controllers/*":"./src/controllers/*","./styles.css":"./styles.css"},"scripts":{"test":"node --test test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/cotherapist-ru/unified-report.git"},"bugs":{"url":"https://github.com/cotherapist-ru/unified-report/issues"},"homepage":"https://github.com/cotherapist-ru/unified-report#readme","engines":{"node":">=18"},"peerDependencies":{"@hotwired/stimulus":"^3.2.0"},"keywords":["stimulus","cotherapist","unified-report","psychometrics","hotwired"],"license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"devDependencies":{"@hotwired/stimulus":"^3.2.2","@types/dompurify":"^3.0.5","jsdom":"^24.1.3"},"dependencies":{"dompurify":"^3.4.12","marked":"^15.0.12"},"_id":"@cotherapist/unified-report@0.1.1","gitHead":"c3f8138fffef1358af3e54049844dab629c18dfb","_nodeVersion":"22.10.0","_npmVersion":"11.5.2","dist":{"integrity":"sha512-k1kqU1N0EZv23zB1nQFnFAXKYzRCbRIMymn4ECpEYHm9oAISLhzUr0Ie2lGZgxJbCRkrJU4PXGl+Z2YpuR1lDA==","shasum":"1415c7de35ce8b8d839d4224e686460bf69be865","tarball":"https://registry.npmjs.org/@cotherapist/unified-report/-/unified-report-0.1.1.tgz","fileCount":13,"unpackedSize":75356,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD86xjs6ccqyZQ9ZRxb94jY0Fyw4N0th5LImV+oxoIXHAIhAKqWz/TZNMteAqK2xeDR5vQxWbTLFGm2+tm6069rw9Ab"}]},"_npmUser":{"name":"ilyario","email":"ponomarevid@ya.ru"},"directories":{},"maintainers":[{"name":"ilyario","email":"ponomarevid@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/unified-report_0.1.1_1785144375992_0.4528007951308999"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-15T10:34:10.928Z","modified":"2026-07-27T09:26:16.278Z","0.1.0":"2026-07-15T10:34:11.247Z","0.1.1":"2026-07-27T09:26:16.118Z"},"bugs":{"url":"https://github.com/cotherapist-ru/unified-report/issues"},"license":"MIT","homepage":"https://github.com/cotherapist-ru/unified-report#readme","keywords":["stimulus","cotherapist","unified-report","psychometrics","hotwired"],"repository":{"type":"git","url":"git+https://github.com/cotherapist-ru/unified-report.git"},"description":"Stimulus renderer for Cotherapist v1_unified_report sections","maintainers":[{"name":"ilyario","email":"ponomarevid@ya.ru"}],"readme":"# @cotherapist/unified-report\n\n[![CI](https://github.com/cotherapist-ru/unified-report/actions/workflows/ci.yml/badge.svg)](https://github.com/cotherapist-ru/unified-report/actions/workflows/ci.yml)\n[![npm version](https://img.shields.io/npm/v/@cotherapist/unified-report.svg)](https://www.npmjs.com/package/@cotherapist/unified-report)\n\nStimulus + ESM renderer for `v1_unified_report` sections (shared by public-testing and monolith).\n\n## Установка\n\n```bash\nnpm install @cotherapist/unified-report @hotwired/stimulus\n```\n\n`@hotwired/stimulus` — peer dependency (>= 3.2).\n\n## Использование\n\n```js\nimport { Application } from \"@hotwired/stimulus\"\nimport { UnifiedReportController } from \"@cotherapist/unified-report\"\nimport \"@cotherapist/unified-report/styles.css\"\n\nconst app = Application.start()\napp.register(\"unified-report\", UnifiedReportController)\n```\n\n```html\n<div data-controller=\"unified-report\"\n     data-unified-report-locale-value=\"ru\"\n     data-unified-report-report-value='{\"schema\":\"v1_unified_report\",\"sections\":[]}'>\n  <div data-unified-report-target=\"mount\"></div>\n</div>\n```\n\nИмя data-атрибута не должно содержать `url` / `src` / `href` (иначе Go `html/template` и некоторые HTML-санитайзеры экранируют значение).\n\n## Разработка\n\n```bash\nnpm ci\nnpm test\n```\n\nТребуется Node.js >= 18 (встроенный `node:test`).\n\n## Публикация\n\nПодробная пошаговая инструкция: **[PUBLISHING.md](PUBLISHING.md)** (npm org, GitHub Secrets, первый и последующие релизы).\n\nКратко:\n\n1. Репозиторий: [github.com/cotherapist-ru/unified-report](https://github.com/cotherapist-ru/unified-report)\n2. Секрет `NPM_TOKEN` в GitHub Actions (Automation token org `@cotherapist`)\n3. GitHub Release с тегом `vX.Y.Z` = `version` в `package.json` → workflow **Publish** публикует в npm\n\n## Лицензия\n\nMIT — см. [LICENSE](LICENSE).\n","readmeFilename":"README.md"}