generator-tpa

1.3.1 • Public • Published

Build Status

Yeoman generator for TPA projects

Introduction

Polymer is a library of polyfills and sugar which enable the use of Web Components in modern browsers. The project allows developers to build apps using the platform of tomorrow and inform the W3C of places where in-flight specifications can be further improved.

generator-tpa provides Polymer scaffolding using Yeoman (a scaffolding tool for the web), letting you easily create and customize Polymer (custom) elements via the command-line and import them using HTML Imports. This saves you time writing boilerplate code so you can start writing up the logic to your components straight away.

Features

Issues

This generator clones tpa-seed. If you're having issues with the template files generated for those projects, please raise them on those repos as they are the canonical source.

Installation

Install the generator

npm install -g generator-tpa

Generators

Available generators:

Note: Generators are to be run from the root of your app

TPA

Generates a reusable polymer element based on the tpa-seed workflow.

To preview your new element you'll want to use the polyserve tool that's executed via gulp

Example:

mkdir -p my-foo && cd $_
yo tpa:seed tpa-account-balance
gulp

Contribute

See the contributing docs

When submitting an issue, please follow the guidelines. Especially important is to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.

Install the generator from a local folder

First clone this project to a local folder, and from that folder execute the following command:

npm install -g generator-tpa

npm documentation

Updating submodules

This generator uses git submodules to generate the component. To update the submodules use the following command:

git submodule update --remote

License

BSD license

Package Sidebar

Install

npm i generator-tpa

Weekly Downloads

0

Version

1.3.1

License

none

Last publish

Collaborators

  • abowen