goodeggs-assets-cli
v3.0.1
Published
CLI tool for goodeggs-assets
Downloads
3
Readme
goodeggs-assets-cli
CLI tool for goodeggs-assets
Usage
$ npm install --save-dev goodeggs-assets-cli
$ goodeggs-assets init # => generates Assetsfile.coffee
$ goodeggs-assets # => /public/build contains your development assets (un-minified, un-versioned, inline sourcemaps)
# code code code
$ goodeggs-assets --prod # => /build contains your production (minified, versioned, distributed, no sourcemaps) assets and manifest
$ goodeggs-assets rollbar # => upload your sourcemaps to Rollbar
You can also require goodeggs-assets-cli/devtool
from your task runner to automatically start, stop and log the goodeggs-assets
process. For example:
gulp.task 'default', ->
assetsDevtool = require 'goodeggs-assets-cli/devtool'
nodemon = require 'gulp-nodemon'
assetsDevtool.run()
nodemon # snip...
Contributing
$ git clone https://github.com/goodeggs/goodeggs-assets-cli && cd goodeggs-assets-cli
$ npm install
$ npm test
Module scaffold generated by generator-goodeggs-npm.