Skip to content

Create a new WebApp files with grunt-init, including Google Closure Tools, Bower package manager, LESS with LESSHAT2 mixins, gjshint, livereloading.

Notifications You must be signed in to change notification settings

tomasstankovic/grunt-init-closure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-init-closure

Create a new WebApp files with grunt-init, including Google Closure Tools, Bower package manager, LESS with LESSHAT3 mixins, gjshint, livereloading.

Prerequisites

This plugin requires Grunt 0.4.x

npm install -g grunt-cli
npm install -g bower

Installation

git clone git@github.com:slinto/grunt-init-closure.git ~/.grunt-init/closure

Usage

At the command-line, cd into an empty directory, run this command and follow the prompts.

grunt-init closure
npm install && bower install

Workflow

Recomended dev workflow

Default server on localhost:9000 (including livereload)

In developing please edit *.html files to contain your selected namespace goog.require('slinto.project');

grunt server

Production build

In production remove DEV USE section and uncomment PRODUCTION USE html code from index.html and others .html files. Final build is in /dist folder.

grunt build

Default task

grunt

About

Create a new WebApp files with grunt-init, including Google Closure Tools, Bower package manager, LESS with LESSHAT2 mixins, gjshint, livereloading.

Resources

Stars

Watchers

Forks

Packages

No packages published