|
@@ -1,6 +1,6 @@
|
|
-/* global module:false */
|
|
|
|
-module.exports = function(grunt) {
|
|
|
|
- const sass = require('node-sass');
|
|
|
|
|
|
+const sass = require('node-sass');
|
|
|
|
+
|
|
|
|
+module.exports = grunt => {
|
|
|
|
|
|
require('load-grunt-tasks')(grunt);
|
|
require('load-grunt-tasks')(grunt);
|
|
|
|
|
|
@@ -93,10 +93,11 @@ module.exports = function(grunt) {
|
|
console: false,
|
|
console: false,
|
|
unescape: false,
|
|
unescape: false,
|
|
define: false,
|
|
define: false,
|
|
- exports: false
|
|
|
|
|
|
+ exports: false,
|
|
|
|
+ require: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- files: [ 'Gruntfile.js', 'js/reveal.js' ]
|
|
|
|
|
|
+ files: [ 'gruntfile.js', 'js/reveal.js' ]
|
|
},
|
|
},
|
|
|
|
|
|
connect: {
|
|
connect: {
|
|
@@ -128,7 +129,7 @@ module.exports = function(grunt) {
|
|
|
|
|
|
watch: {
|
|
watch: {
|
|
js: {
|
|
js: {
|
|
- files: [ 'Gruntfile.js', 'js/reveal.js' ],
|
|
|
|
|
|
+ files: [ 'gruntfile.js', 'js/reveal.js' ],
|
|
tasks: 'js'
|
|
tasks: 'js'
|
|
},
|
|
},
|
|
theme: {
|
|
theme: {
|
|
@@ -161,6 +162,9 @@ module.exports = function(grunt) {
|
|
|
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ grunt.loadNpmTasks('grunt-contrib-clean');
|
|
|
|
+ grunt.loadNpmTasks('grunt-contrib-nodeunit');
|
|
|
|
+
|
|
// Default task
|
|
// Default task
|
|
grunt.registerTask( 'default', [ 'css', 'js' ] );
|
|
grunt.registerTask( 'default', [ 'css', 'js' ] );
|
|
|
|
|