grunt-brunch
Grunt Brunch wrapper
Last updated 6 years ago by kenhkan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grunt-brunch 
SYNC missed versions from official npm registry.

Drive Brunch with Grunt
Build Status Dependency Status NPM version Stories in Ready

Run Brunch.IO as a Grunt task

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-brunch

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-brunch');

Usage

Configuration:

grunt.initConfig({
  ...
  brunch: {
    // Watch and run server at 8888
    serve: {
      action: 'serve',
      port: 8888
    },
    // Just like 'serve' but an asnchronous task
    serveAsync: {
      action: 'serve',
      port: 8888,
      async: true
    },
    // Watch for file changes only
    watch: {
      action: 'watch',
      port: 8888
    },
    // Compile
    compile: {
      action: 'compile'
    },
    // Build (compile + minify + uglify)
    build: {
      action: 'build'
    }
  },
  ...
});

Current Tags

  • 0.0.2                                ...           latest (6 years ago)

2 Versions

  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (7)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |