Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dmitriy Kiyatkin
committed
Dec 12, 2012
1 parent
da3dd3d
commit 60858dc
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,40 @@ | |||
module.exports = function(grunt) { | |||
|
|||
// Project configuration. | |||
grunt.initConfig({ | |||
pkg: '<json:package.json>', | |||
test: { | |||
files: ['test/*.js'] | |||
}, | |||
lint: { | |||
files: ['grunt.js', 'test/*.js', 'index.js'] | |||
}, | |||
watch: { | |||
files: '<config:lint.files>', | |||
tasks: 'default' | |||
}, | |||
jshint: { | |||
options: { | |||
curly: true, | |||
eqeqeq: true, | |||
immed: true, | |||
latedef: true, | |||
newcap: true, | |||
noarg: true, | |||
sub: true, | |||
undef: true, | |||
boss: true, | |||
eqnull: true, | |||
strict: false, | |||
node: true | |||
}, | |||
globals: { | |||
exports: true | |||
} | |||
} | |||
}); | |||
|
|||
// Default task. | |||
grunt.registerTask('default', 'lint test'); | |||
|
|||
}; |