{"_id":"@blueprintui/custom-element-types","_rev":"2-46fc898b1860a6c2e1b7d6fd1c9f27ed","name":"@blueprintui/custom-element-types","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.0":{"name":"@blueprintui/custom-element-types","version":"0.0.0","keywords":["web components","custom elements","react","preact","angular","typescript","blazor"],"author":{"name":"Cory Rylan"},"license":"MIT","_id":"@blueprintui/custom-element-types@0.0.0","maintainers":[{"name":"coryrylan","email":"cory@coryrylan.com"}],"homepage":"https://github.com/coryrylan/custom-element-types#readme","bugs":{"url":"https://github.com/coryrylan/custom-element-types/issues"},"bin":{"cet":"dist/lib/index.js","custom-element-types":"dist/lib/index.js"},"dist":{"shasum":"b4695c13643c33be261213464cfb3aa70ff72c48","tarball":"https://registry.npmjs.org/@blueprintui/custom-element-types/-/custom-element-types-0.0.0.tgz","fileCount":28,"integrity":"sha512-wQaCwKLcqJKAHFiJE4mnj9FCbnllg1G07oSibab0THmZ2Um9/k1pw4dbp9jg2OGHiEF3c3fIEIFdUoZiCK1nXQ==","signatures":[{"sig":"MEQCIFKgRBcajEVR7U+59MwXQgd26zR6iHzk2tdWyiortcNAAiAj2KpXCqObp7sstkIQ7QgrQTT78lefLdH8kgL+BkCJ+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147909},"main":"./index.js","type":"module","_from":"file:blueprintui-custom-element-types-0.0.0.tgz","module":"./index.js","engines":{"node":"22.14.0"},"exports":{".":{"types":"./dist/lib/index.d.ts","default":"./dist/lib/index.js"},"./*":{"types":"./dist/lib/","default":"./dist/lib/"},"./package.json":"./package.json"},"scripts":{"ci":"pnpm run clean && pnpm run build && pnpm run build:react && pnpm run build:preact && pnpm run build:angular && pnpm run build:typescript && pnpm run build:blazor && pnpm run build:jsx","build":"tsc --project ./tsconfig.lib.json","clean":"rm -rf dist","setup":"curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash && unset npm_config_prefix && . ~/.nvm/nvm.sh && nvm install && nvm use && npm install -g pnpm && pnpm run clean && pnpm i --frozen-lockfile && pnpm dlx playwright install chromium --with-deps chromium","start":"cd ./docs && lite-server","deploy":"firebase deploy --only hosting:custom-element-types","build:jsx":"node ./dist/lib/index.js --type jsx --custom-elements ./custom-elements.json --write ./dist/jsx --entrypoint @blueprintui/components","build:react":"node ./dist/lib/index.js --type react --custom-elements ./custom-elements.json --write ./dist/react --entrypoint @blueprintui/components","build:watch":"tsc --watch --project ./tsconfig.lib.json","build:blazor":"node ./dist/lib/index.js --type blazor --custom-elements ./custom-elements.json --write ./dist/blazor --entrypoint @blueprintui/components","build:preact":"node ./dist/lib/index.js --type preact --custom-elements ./custom-elements.json --write ./dist/preact --entrypoint @blueprintui/components","build:angular":"node ./dist/lib/index.js --type angular --custom-elements ./custom-elements.json --write ./dist/angular --entrypoint @blueprintui/components","build:typescript":"node ./dist/lib/index.js --type typescript --custom-elements ./custom-elements.json --write ./dist/typescript --entrypoint @blueprintui/components"},"typings":"./index.d.ts","_npmUser":{"name":"coryrylan","email":"cory@coryrylan.com"},"_resolved":"/private/var/folders/st/j7j2twqj1z31l5c_1w5yzmz80000gn/T/ca8d2941182748bdf8541fb563392c09/blueprintui-custom-element-types-0.0.0.tgz","_integrity":"sha512-wQaCwKLcqJKAHFiJE4mnj9FCbnllg1G07oSibab0THmZ2Um9/k1pw4dbp9jg2OGHiEF3c3fIEIFdUoZiCK1nXQ==","repository":{"url":"git+https://github.com/coryrylan/custom-element-types.git","type":"git"},"_npmVersion":"10.9.2","description":"A generator to create Framework integrations and types for Custom Elements using the Custom Elements Schema format.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"yargs":"17.7.2"},"_hasShrinkwrap":false,"devDependencies":{"cpy-cli":"5.0.0","fs-extra":"11.3.0","typescript":"5.8.3","@types/node":"22.14.0","lite-server":"2.6.1","@types/fs-extra":"11.0.4","custom-elements-manifest":"2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/custom-element-types_0.0.0_1744582394477_0.7898203026009036","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@blueprintui/custom-element-types","version":"0.0.2","description":"A generator to create Framework integrations and types for Custom Elements using the Custom Elements Schema format.","engines":{"node":"22.14.0"},"bin":{"cet":"dist/lib/index.js","custom-element-types":"dist/lib/index.js"},"main":"./index.js","module":"./index.js","typings":"./index.d.ts","type":"module","exports":{"./package.json":"./package.json","./*":{"types":"./dist/lib/*","default":"./dist/lib/*"},".":{"types":"./dist/lib/index.d.ts","default":"./dist/lib/index.js"}},"repository":{"type":"git","url":"git+https://github.com/coryrylan/custom-element-types.git"},"keywords":["web components","custom elements","react","preact","angular","typescript","blazor"],"author":{"name":"Cory Rylan"},"license":"MIT","bugs":{"url":"https://github.com/coryrylan/custom-element-types/issues"},"homepage":"https://github.com/coryrylan/custom-element-types#readme","devDependencies":{"@types/fs-extra":"11.0.4","@types/node":"22.14.0","cpy-cli":"5.0.0","custom-elements-manifest":"2.1.0","lite-server":"2.6.1","typescript":"5.8.3"},"dependencies":{"fs-extra":"11.3.0","yargs":"17.7.2"},"scripts":{"start":"cd ./docs && lite-server","ci":"pnpm run clean && pnpm run build && pnpm run build:react && pnpm run build:preact && pnpm run build:angular && pnpm run build:typescript && pnpm run build:blazor && pnpm run build:jsx","setup":"curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash && unset npm_config_prefix && . ~/.nvm/nvm.sh && nvm install && nvm use && npm install -g pnpm && pnpm run clean && pnpm i --frozen-lockfile && pnpm dlx playwright install chromium --with-deps chromium","clean":"rm -rf dist","build":"tsc --project ./tsconfig.lib.json","build:watch":"tsc --watch --project ./tsconfig.lib.json","build:react":"node ./dist/lib/index.js --type react --custom-elements ./custom-elements.json --write ./dist/react --entrypoint @blueprintui/components","build:preact":"node ./dist/lib/index.js --type preact --custom-elements ./custom-elements.json --write ./dist/preact --entrypoint @blueprintui/components","build:angular":"node ./dist/lib/index.js --type angular --custom-elements ./custom-elements.json --write ./dist/angular --entrypoint @blueprintui/components","build:typescript":"node ./dist/lib/index.js --type typescript --custom-elements ./custom-elements.json --write ./dist/typescript --entrypoint @blueprintui/components","build:blazor":"node ./dist/lib/index.js --type blazor --custom-elements ./custom-elements.json --write ./dist/blazor --entrypoint @blueprintui/components","build:jsx":"node ./dist/lib/index.js --type jsx --custom-elements ./custom-elements.json --write ./dist/jsx --entrypoint @blueprintui/components","deploy":"firebase deploy --only hosting:custom-element-types"},"_id":"@blueprintui/custom-element-types@0.0.2","_integrity":"sha512-VJVVDXVFqiuy6CLMZ1XqzMgftMZB/V9H7DAfOWZZxahI5+txZaxjEQevtVJGWbA7gt0/spYvYL1heEX6QzhQhA==","_resolved":"/private/var/folders/st/j7j2twqj1z31l5c_1w5yzmz80000gn/T/f92434b10c289d64e83786da6b474480/blueprintui-custom-element-types-0.0.2.tgz","_from":"file:blueprintui-custom-element-types-0.0.2.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-VJVVDXVFqiuy6CLMZ1XqzMgftMZB/V9H7DAfOWZZxahI5+txZaxjEQevtVJGWbA7gt0/spYvYL1heEX6QzhQhA==","shasum":"1e80607f21229438d20f18d2b5c7570a3bb95481","tarball":"https://registry.npmjs.org/@blueprintui/custom-element-types/-/custom-element-types-0.0.2.tgz","fileCount":28,"unpackedSize":147911,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICgCH2axtrYpCJdA/ZQ4TQfgN15YXVczud+gf9Zej4N4AiABUZEZTZhRMDfzsfNhqqcv1c0A/5oLCLc3zOP1xr/2NA=="}]},"_npmUser":{"name":"coryrylan","email":"cory@coryrylan.com"},"directories":{},"maintainers":[{"name":"coryrylan","email":"cory@coryrylan.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/custom-element-types_0.0.2_1744583281640_0.3681182140732495"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-13T22:13:14.374Z","modified":"2025-04-13T22:28:02.038Z","0.0.0":"2025-04-13T22:13:14.713Z","0.0.2":"2025-04-13T22:28:01.867Z"},"bugs":{"url":"https://github.com/coryrylan/custom-element-types/issues"},"author":{"name":"Cory Rylan"},"license":"MIT","homepage":"https://github.com/coryrylan/custom-element-types#readme","keywords":["web components","custom elements","react","preact","angular","typescript","blazor"],"repository":{"type":"git","url":"git+https://github.com/coryrylan/custom-element-types.git"},"description":"A generator to create Framework integrations and types for Custom Elements using the Custom Elements Schema format.","maintainers":[{"name":"coryrylan","email":"cory@coryrylan.com"}],"readme":"# custom-element-types\n\n[![npm version](https://badge.fury.io/js/custom-element-types.svg)](https://badge.fury.io/js/custom-element-types) ![CI Build](https://github.com/coryrylan/custom-element-types/actions/workflows/build.yml/badge.svg)\n\nA generator to create type definitions and framework bindings for applications using Web Components (Custom Elements).\n\n## Getting Started\n\nInstall via NPM\n\n```bash\nnpm install --save-dev custom-element-types\n```\n\n## Playground\n\nIf you have a published Web Component library you can try out the [generator playground](https://custom-element-types.web.app).\n\n## CLI\n\n```bash\ncustom-element-types --write --type react --entrypoint @blueprintui/components\n```\n\n| Args              | Description                                                                  |\n| ----------------- | ---------------------------------------------------------------------------- |\n| type              | `jsx`, `react`, `preact`, `angular`, `typescript`, `blazor`                         |\n| custom-elements   | optional custom path to `custom-elements.json` file                           |\n| write             | write to file, optionally provide a output directory path                     |\n| entrypoint        | package name for base entrypoint import path, else defaults to relative path |\n\n## Examples\n- React: https://stackblitz.com/edit/http-server-noh4jj \n- Angular: https://stackblitz.com/edit/node-1tthxz\n- Preact: https://stackblitz.com/edit/vitejs-vite-8qed1q\n- Blazor: https://github.com/coryrylan/clarity-blazor\n","readmeFilename":"README.md"}