assetr

0.0.6 • Public • Published

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]

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i assetr

    Weekly Downloads

    2

    Version

    0.0.6

    License

    none

    Last publish

    Collaborators

    • azureru