merge retire.js #1473

This commit is contained in:
Hakim El Hattab 2016-06-28 15:43:11 +02:00
commit e7de1bd8b0
2 changed files with 8 additions and 0 deletions

View File

@ -134,6 +134,12 @@ module.exports = function(grunt) {
options: { options: {
livereload: true livereload: true
} }
},
retire: {
js: ['js/reveal.js', 'lib/js/*.js', 'plugin/**/*.js'],
node: ['.'],
options: {}
} }
}); });
@ -148,6 +154,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks( 'grunt-contrib-connect' ); grunt.loadNpmTasks( 'grunt-contrib-connect' );
grunt.loadNpmTasks( 'grunt-autoprefixer' ); grunt.loadNpmTasks( 'grunt-autoprefixer' );
grunt.loadNpmTasks( 'grunt-zip' ); grunt.loadNpmTasks( 'grunt-zip' );
grunt.loadNpmTasks( 'grunt-retire' );
// Default task // Default task
grunt.registerTask( 'default', [ 'css', 'js' ] ); grunt.registerTask( 'default', [ 'css', 'js' ] );

View File

@ -37,6 +37,7 @@
"grunt-contrib-uglify": "~0.9.2", "grunt-contrib-uglify": "~0.9.2",
"grunt-contrib-watch": "~0.6.1", "grunt-contrib-watch": "~0.6.1",
"grunt-sass": "~1.1.0-beta", "grunt-sass": "~1.1.0-beta",
"grunt-retire": "~0.3.10",
"grunt-zip": "~0.17.1", "grunt-zip": "~0.17.1",
"node-sass": "~3.3.3" "node-sass": "~3.3.3"
}, },