grunt-contrib-coffeeify
v0.1.0
Published
Browserify with CoffeeScript plugin for Grunt.
Downloads
1
Maintainers
Readme
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.