Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-reveal

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-reveal - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

101

app/templates/Gruntfile.js
// Generated on <%= (new Date).toISOString().split('T')[0] %> using <%= pkg.name %> <%= pkg.version %>
'use strict';
var moment = require('moment');

@@ -8,61 +7,61 @@ var LIVERELOAD_PORT = 35729;

var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
return connect.static(require('path').resolve(dir));
};
module.exports = function (grunt) {
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
grunt.initConfig({
watch: {
options: {
nospawn: true,
livereload: LIVERELOAD_PORT
},
livereload: {
files: [
'index.html',
'js/*.js',
'slides/*.md',
'slides/*.html',
'slides/list.json'
],
tasks: ['build']
}
},
connect: {
options: {
port: 9000,
// change this to '0.0.0.0' to access the server from outside
hostname: 'localhost'
},
livereload: {
options: {
middleware: function (connect) {
return [
lrSnippet,
mountFolder(connect, '.')
];
}
grunt.initConfig({
watch: {
options: {
nospawn: true,
livereload: LIVERELOAD_PORT
},
livereload: {
files: [
'index.html',
'js/*.js',
'slides/*.md',
'slides/*.html',
'slides/list.json'
],
tasks: ['build']
}
},
connect: {
options: {
port: 9000,
// change this to '0.0.0.0' to access the server from outside
hostname: 'localhost'
},
livereload: {
options: {
middleware: function (connect) {
return [
lrSnippet,
mountFolder(connect, '.')
];
}
}
}
},
open: {
server: {
path: 'http://localhost:<%%= connect.options.port %>'
}
}
}
},
open: {
server: {
path: 'http://localhost:<%%= connect.options.port %>'
}
}
});
});
grunt.registerTask('server', ['build', 'connect:livereload', 'open', 'watch']);
grunt.registerTask('server', ['build', 'connect:livereload', 'open', 'watch']);
grunt.registerTask('build', 'Build your slides.', function () {
var slides = [];
grunt.registerTask('build', 'Build your slides.', function () {
var slides = [];
grunt.file.recurse('slides', function (post, root, sub, fileName) {
if (fileName === 'index.md') {
return;
}
grunt.file.recurse('slides', function (post, root, sub, fileName) {
if (fileName === 'index.md') {
return;
}
});
});
});
};
{
"name": "generator-reveal",
"version": "0.0.7",
"version": "0.0.8",
"description": "A Reveal.js generator for Yeoman",
"keywords": [
"generator-reveal"
"generator-reveal",
"yeoman-generator"
],

@@ -8,0 +9,0 @@ "homepage": "https://github.com/slara/generator-reveal",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc