0.0.6 • Published 10 years ago
assetr v0.0.6
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