Skip to content

Commit

Permalink
fix grunt ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Apr 1, 2019
1 parent e6fa04d commit 2734aa3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
16 changes: 10 additions & 6 deletions Gruntfile.ts → gruntfile.js
Original file line number Diff line number Diff line change
@@ -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);

Expand Down Expand Up @@ -93,10 +93,11 @@ module.exports = function(grunt) {
console: false,
unescape: false,
define: false,
exports: false
exports: false,
require: false
}
},
files: [ 'Gruntfile.js', 'js/reveal.js' ]
files: [ 'gruntfile.js', 'js/reveal.js' ]
},

connect: {
Expand Down Expand Up @@ -128,7 +129,7 @@ module.exports = function(grunt) {

watch: {
js: {
files: [ 'Gruntfile.js', 'js/reveal.js' ],
files: [ 'gruntfile.js', 'js/reveal.js' ],
tasks: 'js'
},
theme: {
Expand Down Expand Up @@ -161,6 +162,9 @@ module.exports = function(grunt) {

});

grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-nodeunit');

// Default task
grunt.registerTask( 'default', [ 'css', 'js' ] );

Expand Down
6 changes: 0 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"express": "^4.16.2",
"grunt": "^1.0.3",
"grunt": "^1.0.4",
"grunt-cli": "^1.3.2",
"grunt-autoprefixer": "^3.0.4",
"grunt-contrib-connect": "^2.0.0",
Expand All @@ -36,10 +36,9 @@
"grunt-sass": "^3.0.2",
"grunt-zip": "~0.17.1",
"load-grunt-tasks": "^4.0.0",
"node-sass": "4.11.0",
"node-sass": "^4.11.0",
"mustache": "^2.3.0",
"socket.io": "^2.2.0",
"typescript": "^3.3.3333"
"socket.io": "^2.2.0"
},
"license": "MIT"
}

0 comments on commit 2734aa3

Please sign in to comment.