assetr

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

npm install assetr
11 downloads in the last month

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

Install

npm install -g assetr

Use

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/

Dependencies

  • UglifyJs
  • CleanCss
  • Less

License

Don't Be A Jerk License :) [https://github.com/evantahler/Dont-be-a-Jerk]

npm loves you