grunt-snocketsify

Compiles your coffeescript and javascript dependencies tree with Snockets. No uglifying, no minifying, no ridiculous defaults. And in contrary to mincer, it just works.

npm install grunt-snocketsify
5 downloads in the last week
29 downloads in the last month

grunt-snocketsify

Compiles your coffeescript and javascript dependencies tree with Snockets. No uglifying, no minifying, no ridiculous defaults. And in contrary to mincer, it just works.

Getting Started

This plugin requires Grunt ~0.4.0 Deal with it.

Installation:

npm install grunt-snocketsify --save-dev

One the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-snocketsify');

The "snocketsify" task

Overview

In your project's Gruntfile, add a section named snocketsify to the data object passed into grunt.initConfig().

grunt.initConfig({
  snocketsify: {
    app: {
      src: 'app/client/app.coffee',
      dest: 'public/assets/app.js'
    }
  },
})
npm loves you