A starter app for lavaca
CSS JavaScript Shell HTML
Latest commit b71c953 Sep 27, 2015 @daviddulak daviddulak build bug fix
Permalink
Failed to load latest commit information.
libs/yuidoc/themes/default/assets/css removing atnotate Jul 9, 2013
src/www
tasks print reference includes for blueprint Sep 26, 2015
test/unit
.bowerrc changed client side package management to bower Sep 24, 2013
.editorconfig Added EditorConfig (editorconfig.org) file to normalize editor settin… Apr 24, 2013
.gitignore consolidate variables Sep 22, 2015
.jshintrc
.travis.yml
CHANGELOG.md
Gruntfile.js
MIT-LICENSE.txt cleanup Sep 24, 2015
Procfile
Project.sublime-project livereload, reorg, modernizr Sep 18, 2015
README.md version number update Sep 26, 2015
_banner_source.png
_icon_source.png
_source-ota-manifest.plist
_splash_source.png
bamboobuild.sh
bower.json
build-config.json
icongen.sh build scripts refinement Sep 17, 2015
package.json Merge branch 'v3' Sep 25, 2015
publishbuild.sh
set_path.sh

README.md

Lavaca-starter 3.0.0

Build Status

This project is a seed for creating a new Lavaca app. It includes a build system and opional integration with Cordova.

Startup guide

Getting Started

Get the code Download source

Install Node Packages

$ npm install

Set Your Path

$ source ./set_path.sh
  1. Install dev dependencies
$ npm install
$ grunt server

Grunt Tasks

Below is a list of grunt tasks to aid development and facilitate deployment. More on Build Configuration

Server

A task that simply runs a static server for local development and testing. Defaults to run on localhost:8080 with src being the root directory.

  • Run the default static server
$ grunt server

Build

Precompiles LESS and Dust templates, concats and minifies all CSS and JavaScript files, and builds all related files to www, android/assets/www and ios/www directories.

  • Build with local config
$ grunt build
  • Build with staging config (a copy of the build will be available in www folder)
$ grunt build:staging
  • Build with production config (a copy of the build will be available in www folder)
$ grunt build:production

Test

Runs unit tests defined in test/unit directory with Jasmine in a headless instance of Webkit using PhantomJS.

  • Run unit tests from test/unit
$ grunt test

Docs

Generates JavaScript documentation using yuidoc. The resulting documentation is outputed to the doc folder.

  • Generate JavaScript Documentation
$ grunt yuidoc