Publish a polymer component without Bower

I would like to create and publish a component for use with Polymer.

While I was reading an official article on how to publish components with Bower , I would rather distribute my component through GitHub / NPM. I expect the component to be installed through JSPM.

Since I have no experience with this, I wonder about a few issues:

  • How can I make sure that the Polymer kernel is a dependency of my component and will be installed in the user's root project if it does not already exist? (As far as I can see, Polymer is only available through bower or GitHub)

  • Will JSPM determine if there are any files (for example, are System.jsalready installed and avoid duplication?

  • Should I include tests and project code in the package?

+4
source share

All Articles