Scaffolds a empty lit-element module with tests and documentation

Usage no npm install needed!

<script type="module">
  import generatorLitElement from '';



npm version Build Status npm

  • Generates a simple Lit-Element based Custom Element
  • Provides Infrastrucutre for headless testing
  • Sets up a simple demo page
  • Adds‚ a brief readme

Getting started

  • Make sure you have yo installed: npm install -g yo
  • Install the generator: npm install -g generator-lit-element
  • Run: yo lit-element, enter your full element

Use local lerna

There is a switch that makes the package.json assume the tools are installed in a parent lerna repos. This is for faster installs.