node package manager


Assetr - Node CLI helper to build our assets (css, js, less)

Asset Builder

CLI Utility to help in minifying js, css and processing less

Nothing fancy here, I just made it to call one CLI line to process those files.

Just to make it easier to be used in ANT/Build script

npm install -g assetr

Minify jquery.js to jquery.min.js assetr -f jquery.js

Minify jquery.css to jquery.min.css assetr -f jquery.css

Process LESS assetr -f bootstrap.less

Minify all files in directory ./protected/assets/js/ assetr -d ./protected/assets/js/

  • UglifyJs
  • CleanCss
  • Less

Don't Be A Jerk License :) []