npm.io
0.1.0 • Published 12 years ago

grunt-contrib-coffeeify

Licence
MIT
Version
0.1.0
Deps
5
Vulns
5
Weekly
0

grunt-contrib-coffeeify

Browserify with CoffeeScript plugin for Grunt.

USAGE

Install

$ npm install grunt-contrib-coffeeify -D
Example
grunt.loadNpmTasks('grunt-contrib-coffeeify');
coffeeify: {
  build: {
    cwd:  'src/coffee',
    src:  ['*.coffee'],
    dest: 'dist/js'
  }
}

Options

aliases
coffeeify: {
  build: {
    cwd:  'src/coffee',
    src:  ['*.coffee'],
    dest: 'dist/js',

    // aliases
    aliases: [
      {
        cwd: 'src/coffee/app'
        dest: 'app'
        src: ['**/*.coffee', '**/*.js']
      }
  }
}

You can use src/coffee/app/views/View.coffee as var View = require('app/views/View');

License

Copyright (c) 2014 Yusuke Narita Licensed under the MIT license.

Keywords