grunt-contrib-coffeeify
Browserify with CoffeeScript plugin for Grunt.
Last updated 6 years ago by nariyu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grunt-contrib-coffeeify 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.1.0                                ...           latest (6 years ago)

1 Versions

  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |