Recently I did a rewrite of the build system for OS.js. This brings some changes to the Grunt commands, of which most of them has been deprecated (you can still use them for some time, but it will warn you). You can expect this in the master branch soon.. As of October 4th 2016 this is in master branch.

The new build system detaches from Grunt itself and is modular. This makes it much easier to make modifications and scripts for customizing OS.js and its build process(es). It also paves the way for making custom build targets, and [maybe] eventually moving away from Grunt itself in favor of a normal command line parser with a bit of glue.

New base tool

You don't have to use Grunt anymore for building. You can just run:

node osjs foo:bar --bass=jazz

Please note that testing tools etc. still rely on Grunt.

New Tasks

Here's a complete list of all the available tasks after the changes:

Building

Available targets: dist, dist-dev (default is both. Exception is for 'build:config', which uses targets from configuration section below)