Skip to content
Yeoman generator to scaffold a Samsung SmartTV app
JavaScript CoffeeScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
scene
test
.editorconfig
.gitattributes
.gitignore
.jshintrc
.npmignore
.travis.yml
LICENSE
README.md
package.json

README.md

generator-smarttv Build Status Coverage Status Dependency Status

A generator for Yeoman to scaffold a Samsung SmartTV application.

##NOTE: Hasn't been updated in a long time because of other work. If someone would like to take over the main development of this that would be great.

Features

  • CSS Autoprefixing
  • Built-in preview server with LiveReload
  • Automagically compile CoffeeScript & Compass
  • Automagically lint your scripts
  • Automagically wire up your Bower components with bower-install.
  • Awesome Image Optimization (via OptiPNG, pngquant, jpegtran and gifsicle)
  • Mocha Unit Testing with PhantomJS
  • Optional - Twitter Bootstrap for SASS

Getting Started

  • Make sure you have installed yo: npm install -g yo and grunt: npm install -g grunt-cli.
  • Install the generator: npm install -g generator-smarttv
  • Run: yo smarttv
  • Run: grunt for building and grunt serve for preview

See the documentation on Samsung SmartTV apps for help with creating applications.

Options

  • --skip-install

    Skips the automatic execution of bower and npm after scaffolding has finished.

  • --test-framework=<framework>

    Defaults to mocha. Can be switched for another supported testing framework like jasmine.

  • --coffee

    Add support for CoffeeScript.

Scene Subgenerator

  • yo smarttv:scene <scene_name>

Options for subgenerator

  • --coffee

    Add support for CoffeeScript.

  • --sass

    Creates stylesheet in SCSS format.

Todo

  • Create icons
  • Get grunt serve to load app in VirtualBox

License

MIT License

You can’t perform that action at this time.