npm.io
0.5.1 • Published 12 years ago

generator-prototyping

Licence
MIT
Version
0.5.1
Deps
1
Vulns
0
Weekly
0
Stars
2
DeprecatedThis package is deprecated

generator-prototyping

Build Status Dependency Status

Yeoman generator for client side webapp prototyping

Installation

$ npm install -g yo generator-prototyping

Usage

$ mkdir prototyping && cd $_
$ yo prototyping

grunt aliases

compile
$ grunt compile
  1. remove files and directories in public/, without public/lib/
  2. copy to public/ from assets/, css/ and js/
  3. compile files for Jade, Stylue, Less and CoffeeScript
develop
$ grunt develop
  1. start server at localhost:8000
  2. start watch to files and start livereload

watch to files below.

  • css/**/*.css
  • jade/**/*.jade
  • stylus/**/*.styl
  • less/**/*.less
  • js/**/*.js
  • coffee/**/*.coffee
  • assets/**/*
install
$ grunt install

download libraries using bower, and put to public/lib/.

rebuild
$ grunt rebuild

it similar to compile alias. but clean public/, and install libraries with bower.

License

The MIT license. Please see LICENSE file.