0.0.4 • Published 8 years ago

generator-phunware-tvml v0.0.4

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

generator-phunware-tvml

Generates a scaffold project for writing tvml apps supported by the Phunware build infrastructure.

Installation

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

npm install -g yo
npm install -g generator-phunware-tvml

Then generate your new project:

yo phunware-tvml

Run your app:

npm start

Your TVML app should be served from http://localhost:9001/application.js

Template Types

The generator offers several template types to start from. A template type can be specified by adding the --type option when running the generator. The following are the supported templates:

  • base - the base template, includes gulp, webpack and versioning support
  • es6 - adds support for es6 (default)
  • atvjs - begins with a sample app based on the atvjs framework

Example:

yo phunware-tvml --type base

Building and Archiving

The templates include gulp tasks to build and archive your project for deployment, testing and submission purposes. To generate an archive, run the following commands:

npm install
gulp archive

or, if building for production

npm install
gulp archive --type production

License

MIT © Cef Ramirez

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago