node-console-games/Gruntfile.js

26 lines
465 B
JavaScript
Raw Normal View History

2015-12-11 17:49:42 +00:00
module.exports = function(grunt) {
grunt.initConfig({
babel: {
scripts: {
files: [{
expand: true,
cwd: 'src',
src: '**/*.js',
dest: 'build/'
}]
}
},
watch: {
scripts: {
files: ['src/**/*.js'],
tasks: ['babel']
}
}
});
grunt.loadNpmTasks('grunt-babel');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['babel']);
};