-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
executable file
·38 lines (34 loc) · 931 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
36
37
38
module.exports = function(grunt) {
require('time-grunt')(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
name: '<%= pkg.name %>',
jshint: {
src: 'tasks/*.js',
options: {
jshintrc: '.jshintrc',
reporter: require('reporter-plus/jshint')
}
},
jscs: {
src: 'tasks/*.js',
options: {
config: '.jscsrc',
reporter: require('reporter-plus/jscs').path
}
},
chromeload: {
twitter: {
reload_pattern: 'https?:\/\/(www\.)?twitter\.com',
new_url: 'https://www.twitter.com'
},
google: {
reload_pattern: 'https?:\/\/(\\w+?\.)?google\.com',
new_url: 'https://www.google.com'
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-jscs');
grunt.loadTasks('tasks');
};