express-declarative-routing
Version:
Declarative Routing for Express.js
27 lines (23 loc) • 600 B
text/coffeescript
module.exports = (grunt) ->
grunt.initConfig
coffee:
compile:
files: [
expand: true
cwd: 'src'
src: '**/*.coffee'
dest: 'lib'
ext: '.js'
]
coffeelint:
app: 'src/**/*.coffee'
options:
max_line_length:
level: 'warn'
watch:
files: ['Gruntfile.coffee', 'src/**/*.coffee']
tasks: ['coffeelint', 'coffee']
grunt.loadNpmTasks 'grunt-coffeelint'
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-contrib-watch'
grunt.registerTask 'default', ['watch']