generator-prototypingdeprecated

Yeoman generator for client side webapp prototyping

Usage no npm install needed!

<script type="module">
  import generatorPrototyping from 'https://cdn.skypack.dev/generator-prototyping';
</script>

README

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.