generator-simple-webapp Build Status

A simple Yeoman generator that includes configs for Karma and Protractor. It also utilises assemble for mustache template compiling to html

Uses bower-installer, Karma, Protractor, Mustache

Dependencies

  • Yeoman
  • NPM

Getting Started

To install generator-simple-webapp from npm, run:

$ npm install -g generator-simple-webapp

Commands

Initiate the generator:

$ yo simple-webapp

Start a grunt server with livereload and mustache template assembling

$ grunt serve

This task will start a server and watch on sass, mustache files. When a mustache file is edited it will assemble an html file in the project root.

Start karma tests with

$ ./node_modules/karma/bin/karma start karma.config.js

Run protractor tests with

$ ./node_modules/.bin/protractor protractor.config.js

You'll need to replace '###' with your browserstack credentials in both of these configs

License

MIT