grunt-contrib-coffeeify

0.1.0 • Public • Published

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.

Package Sidebar

Install

npm i grunt-contrib-coffeeify

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • nariyu