npm install grunt-coffeeJavaScripts your Coffee
npm install grunt-coffeeThen add this line to your project's grunt.js gruntfile:
``javascript`
grunt.loadNpmTasks('grunt-coffee');
[grunt]: https://github.com/cowboy/grunt
[getting_started]: https://github.com/cowboy/grunt/blob/master/docs/getting_started.md
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!