grunt-coffee
JavaScripts your CoffeeGetting Started
Install this grunt plugin next to your project's grunt.js gruntfilegettingstarted with:npm install grunt-coffee
Then add this line to your project's
grunt.js
gruntfile:grunt.loadNpmTasks('grunt-coffee');
Documentation
You'll need to installgrunt-coffee
first:npm install grunt-coffee
Then modify your grunt.js
file by adding the following line:grunt.loadNpmTasks('grunt-coffee');
Then add some configuration for the plugin like so:grunt.initConfig({
...
coffee: {
app: {
src: ['path/to/coffee/files/*.coffee'],
dest: 'where/you/want/your/js/files'
}
},
...
});
Then just run grunt coffee
and enjoy!