3.0.1 • Published 6 years ago

goodeggs-assets-cli v3.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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.