Skip to content

feat: make it npm installable#179

Open
JonasMH wants to merge 1 commit into
theacodes:mainfrom
JonasMH:npm-install-support
Open

feat: make it npm installable#179
JonasMH wants to merge 1 commit into
theacodes:mainfrom
JonasMH:npm-install-support

Conversation

@JonasMH
Copy link
Copy Markdown

@JonasMH JonasMH commented Feb 14, 2026

This will make the project installable through npm by exporting the types and main entry point. Enabling

npm install --save https://github.com/theacodes/kicanvas
import "kicanvas";

To register the custom elements

Note, this is the first in a series of three pull-requests with the end goal of making it easier to embed in a custom typescript based web application. The pull requests will be as follows:

  1. make it npm installable (this)
  2. make it work with other bundles than esbuild

All non ts import must be converted to .ts, example are .glsl, .css

  1. make it export custom element attribute typing

@theacodes
Copy link
Copy Markdown
Owner

theacodes commented Feb 14, 2026 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants