node package manager

grunt-set-jslib

grunt-set-jslib

A set of grunt tasks to help with JS Libraries development.

Features

  • jshint js files
  • watch files for changes and automatically run correct task
  • start up a dev server with livereload

Suggested Folder Structure

lib/
  lib.js
test/
    lib.test.js
    index.html
example/
    app.js
    index.html

Commands

  • dev - start up dev server and watch for changes
  • dist - build and minify