UNPKG

machinepack-waterline

Version:

A database-agnostic connectivity library for sending queries, managing dynamic db connections, committing/rolling back transactions, and more.

34 lines (31 loc) 689 B
/** * `coffee` * * --------------------------------------------------------------- * * Compile CoffeeScript files located in `assets/js` into Javascript * and generate new `.js` files in `.tmp/public/js`. * * For usage docs see: * https://github.com/gruntjs/grunt-contrib-coffee * */ module.exports = function(grunt) { grunt.config.set('coffee', { dev: { options: { bare: true, sourceMap: true, sourceRoot: './' }, files: [{ expand: true, cwd: 'assets/js/', src: ['**/*.coffee'], dest: '.tmp/public/js/', ext: '.js' }] } }); grunt.loadNpmTasks('grunt-contrib-coffee'); };