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.
- 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
- 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 andgrunt serve
for preview
See the documentation on Samsung SmartTV apps for help with creating applications.
-
--skip-install
Skips the automatic execution of
bower
andnpm
after scaffolding has finished. -
--test-framework=<framework>
Defaults to
mocha
. Can be switched for another supported testing framework likejasmine
. -
--coffee
Add support for CoffeeScript.
yo smarttv:scene <scene_name>
-
--coffee
Add support for CoffeeScript.
-
--sass
Creates stylesheet in SCSS format.
- Create icons
- Get
grunt serve
to load app in VirtualBox