forked from chrispederick/web-developer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGruntfile.js
36 lines (34 loc) · 1.23 KB
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
module.exports = function(grunt)
{
// Configuration
grunt.initConfig(
{
csslint:
{
src: ['source/**/*.css', '!source/common/style-sheets/common/bootstrap/*.css', '!source/common/style-sheets/common/codemirror/*.css'],
options: { csslintrc: '.csslintrc' }
},
jshint:
{
files: ['source/**/*.js', '!source/chrome/javascript/common/jquery/*.js', '!source/common/javascript/common/bootstrap/*.js', '!source/common/javascript/common/codemirror/*.js', '!source/common/javascript/common/jquery/*.js', '!source/common/javascript/generated/beautify/*.js'],
options:
{
force: true,
jshintrc: '.jshintrc'
}
},
jscs:
{
files: ['source/**/*.js', '!source/chrome/javascript/common/jquery/*.js', '!source/common/javascript/common/bootstrap/*.js', '!source/common/javascript/common/codemirror/*.js', '!source/common/javascript/common/jquery/*.js', '!source/common/javascript/generated/beautify/*.js'],
options:
{
config: '.jscs.json',
force: true
//"validateQuoteMarks": "\""
}
},
});
require('load-grunt-tasks')(grunt);
// Default tasks
grunt.registerTask('default', ['newer:csslint', 'newer:jscs', 'newer:jshint']);
};