Skip to content

winsonwq/seal

Repository files navigation

#Front Development Boilerplate

Techniques

  1. Jade
  2. Stylus
  3. Grunt
  4. Bower

Tasks

Devemopment mode

grunt dev to start development mode:

  1. generate production files in dev
  2. hosted in localhost:9001
  3. livereload for view/style/script change
  4. uncompressed css / js for debugging

Production mode

grunt build build file in production mode

  1. generate production files in public
  2. compressed css / js

grunt mocha

grunt mocha would run unit test under test/unit/**/*.js