node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

goodeggs-assets-cli

goodeggs-assets-cli

CLI tool for goodeggs-assets

build status npm version mit license we're hiring

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.