forked from moul/node-leboncoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrunt.coffee
More file actions
21 lines (21 loc) · 785 Bytes
/
grunt.coffee
File metadata and controls
21 lines (21 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-coffee'
grunt.initConfig
lint:
files: ['*.js', '*.json', 'lib/*.js']
jshint: # @see http://www.jshint.com/docs/
options:
curly: false, # Always need {} for 'if' 'for' etc.
newcap: false, # for CoffeeScript generated 'new ctor()'
shadow: true, # for CoffeeScript generated class definition
undef: true, eqeqeq: true, immed: true, latedef: true
noarg: true, sub: true, boss: true, eqnull: true
node: true, strict: false
coffee:
app:
src: ['src/*.coffee']
dest: 'lib'
watch:
files: ["*.js", "*.json", "src/*.coffee", "test/*.coffee"]
tasks: "coffee lint"
grunt.registerTask 'default', 'coffee'