A tiny CLI to take a folder of stylus & browserify files, iterate through them running transforms, and spit them out to another folder.
npm install ezel-assetsA convention over config CLI to take a folder of stylus & browserify files, iterate through them running transforms, minification, gzip, and spit them out to another folder. Used as a task in production deploys at Artsy, but maybe useful outside of that as well. Uses your app's dependencies so make sure to specify "browserify":"", "stylus":"" in your package.json.
`````
ezel-assets assets/ public/assets/ caching-coffeeify,uglifyify,jadeify,coffeeify deamdify
Or just assuming the defaults above
``
ezel-assets
To keep things consistent ezel-assets uses your app's dependencies. It's recommended to have the following dependencies installed.
* stylus
* sqwish
* browserify
* uglififiy
* Any other browserify transforms necessary to your app.
* Optimize settings in dev/test to make assets build faster for integration testing
Please fork the project and submit a pull request with tests. Install node modules npm install and run tests with npm test`.
MIT