0.10.1 • Published 5 years ago

generator-polymer-init-element-scaffold v0.10.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

generator-polymer-init-element-scaffold

Available Templates

The Goal of this generator is to be your one stop shop for any type of element that you are interested in making. It focuses on best practices, setting you up with a basic test suite, documentation, demos, and github pages deployment.

Template Support Matrix

VersionsTypeSupported
Polymer 1.XComponent:white_check_mark:
Polymer 1.XStyle:white_check_mark:
Polymer 1.XBehavior:white_check_mark:
Polymer 2.0Component:white_check_mark:
Polymer 2.0Style:clock10:
Polymer 2.0Behavior:white_check_mark:
Vanilla Web ComponentsComponent:wavy_dash: :thought_balloon:
Vanilla Web ComponentsStyle:interrobang:
Vanilla Web ComponentsBehavior:interrobang:

These templates all have two versions - bower and internal

  • The bower version is meant to stand alone as a project and includes all of the features listed below.
  • The internal version is meant to be created within a project that already uses web components. Its can be used to create something purely presentational or as an adpater or extenstion for an existing component, It includes just the 3 main files.

Features Support

  • Gulp based build system.
  • Browser Sync for enjoyable development.

  • Auto generated docs

  • 1.x Component
  • 1.x Style Library
  • Basic travis testing support
    • 1.7 Component
    • 1.x Style Library
  • Extended support for Sauce labs
    • 1.7 Component
    • 1.x Style Library
  • Github pages deployment
    • 1.7 Component
    • 1.x Style Library

Usage

npm install -g yo
npm install -g polymer-cli
npm install -g generator-polymer-init-element-scaffold
  • Create folder mkdir new-ele and move cd new-ele into it.
  • Run polymer init to start it.
  • Select element-scaffold and follow the instructions

Development

  • Clone the repo
  • run npm link in the project directory.

    • this will allow you to use the project as though you've installed it globally with npm.
  • Updating on npm

    • npm version #.#.#
    • push changes and tags
    • npm publish

Development Help

Watch Polycasts Ep. 53 to learn the basics of how this was built. Yeoman docs

License

MIT

0.10.1

5 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

6 years ago

0.6.0

6 years ago

0.5.4

6 years ago

0.5.3

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.20

8 years ago

0.1.19

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago