repo for angularjs testing training
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
656 B

/**
* Register Grunt tasks to automate workflow.
*
* Exposes the following tasks:
* grunt
*
* @param {Object} grunt Grunt configuration.
*/
module.exports = function(grunt) {
var timer = require('grunt-timer');
// Timer init to show execute time of grunt task.
timer.init(grunt);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
source: {
app: 'app',
build: 'build',
doc: 'doc',
test: 'test',
grunt: 'Gruntfile.js'
},
server: {
host: 'localhost',
port: '9000'
}
});
grunt.loadTasks('build/grunt-tasks');
grunt.registerTask('default', ['connect:dev']);
};