0.1.0 • Published 10 years ago

grunt-contrib-coffeeify v0.1.0

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

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.