bmstu-mt-wp/Gruntfile.js

38 lines
813 B
JavaScript
Raw Normal View History

2013-12-01 10:05:34 +04:00
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
options: {
mangle: true,
banner: '/**\n * Shower HTML presentation engine: github.com/shower/shower\n * @copyright 2010<%= grunt.template.today("yyyy") %> Vadim Makeev, pepelsbey.net\n * @license MIT license: github.com/shower/shower/wiki/MIT-License\n */\n'
},
build: {
2013-12-09 01:24:48 +04:00
src: 'shower.js',
dest: 'shower.min.js'
2013-12-01 10:05:34 +04:00
}
},
connect: {
ribbon: {
options: {
port: 7497
}
2013-12-01 10:05:34 +04:00
}
},
dalek: {
options: {
browser: ['chrome']
},
src: [
'tests/*.js'
]
2013-12-01 10:05:34 +04:00
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-connect');
2013-12-01 10:05:34 +04:00
grunt.loadNpmTasks('grunt-dalek');
2013-12-18 03:53:22 +04:00
grunt.registerTask('default', ['uglify']);
grunt.registerTask('test', ['connect', 'dalek']);
2013-12-01 10:05:34 +04:00
};