-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
30 lines (29 loc) · 963 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
module.exports = function (grunt) {
"use strict";
grunt.initConfig({
pkg: grunt.file.readJSON( 'package.json' ),
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %>; */\n',
// Task configuration.
bower: {
install: {
}
},
karma: {
options: {
configFile: 'karma.conf.js',
runnerPort: 9100,
browsers: ['Chrome']
},
dev: {
reporters: 'dots'
}
}
});
grunt.loadNpmTasks('grunt-bower-task');
grunt.loadNpmTasks( 'grunt-karma' );
// Default task.
grunt.registerTask( 'default', ['bower'] );
};