grunt-laxar
Grunt tasks for LaxarJS
grunt-laxar
provides a couple of custom tasks for LaxarJS applications
and default configurations for tasks from the Grunt community.
$ grunt directory_tree laxar_application_dependencies connect karma watch └─1──────────┘ └─2──────────────────────────┘ └─3───┘ └─4─┘ └─5─┘ 1) create filesystem map in JSON 2) collect dependencies for AngularJS 3) start connect 4) run Karma tests 5) wait for changes
Getting started
This plugin requires Grunt ~0.4.4
. In case you have not used Grunt before, be
sure to have a look at the Getting Started
guide.
To use this plugin, your first need to install it using NPM:
$ npm install grunt-laxar
After that, load its tasks from your Gruntfile:
grunt.loadNpmTasks( 'grunt-laxar' );
Included tasks
css_merger
: Merge multiple CSS files into one file.directory_tree
: Generate a JSON mapping of files inside a specific directory tree.laxar_dox
: Create API documentation in Markdown.laxar_application_dependencies
: Generate a RequireJS module to bootstrap AngularJS.