Allow dashes and underscores in component names

The component defined in the file `list-item.html`should have a name of `list-item` in the JSON.