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 portal_angular_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
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.portal_angular_dependencies
: Generate a RequireJS module to bootstrap AngularJS.widget_json_merger
: Merge multiplewidget.json
files into one file.