Node asset minifier and processer (js, css, less)
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
test
.gitignore
package.json
readme.md

readme.md

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]