forked from mportuga/eslint-detailed-reporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gruntfile.js
35 lines (32 loc) · 817 Bytes
/
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
module.exports = function(grunt) {
'use strict';
require('load-grunt-tasks')(grunt);
grunt.initConfig({
eslint: {
options: {
outputFile: 'example/example-report.html',
format: './lib/detailed.js'
},
target: ['fixture/**/*.js']
},
protractor: {
options: {
configFile: 'test/e2e.conf.js', // Default config file
keepAlive: true, // If false, the grunt process stops when the test fails.
noColor: false, // If true, protractor will not use colors in its output.
args: {
baseUrl: 'http://127.0.0.1:9999'
}
},
local: { // Grunt requires at least one target to run so you can simply put 'all: {}' here too.
options: {}
},
ci: {
options: {
configFile: 'test/e2e.ci.conf.js'
}
}
}
});
grunt.registerTask('default', ['eslint']);
};