UNPKG

generator-mg

Version:

Mg is the starting point for all frontend projects at Sparkbox

13 lines (11 loc) 387 B
module.exports = (grunt) -> grunt.config "coffee", compile: files: "js/app.js": "coffee/app.coffee" jasmine_specs: files: grunt.file.expandMapping(["specs/*.coffee"], "specs/js/", { rename: (destBase, destPath) -> destBase + destPath.replace(/\.coffee$/, ".js").replace(/specs\//, "") }) grunt.loadNpmTasks 'grunt-contrib-coffee'