generator-polymer-lib

This generator allows to create a company lib of web components with Polymer

Usage no npm install needed!

<script type="module">
  import generatorPolymerLib from 'https://cdn.skypack.dev/generator-polymer-lib';
</script>

README

generator-polymer-lib NPM version Build Status Dependency Status

This generator allows to create a company lib of web components with Polymer

Installation

First, install Yeoman and generator-polymer-lib using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-polymer-lib

Then generate your new project:

yo polymer-lib

Commands:

All commands are npm tasks in package.json:

  • npm run live -> show app with livereload thanks to live-server
  • npm run pro -> prepare app for production in dist folder
  • npm run publish -> publish lib into npm registry (public or private)

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

Apache-2.0 © Rubén Aguilera