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.1 to 0.0.2

app/templates/list.json

1

app/index.js

@@ -60,2 +60,3 @@ 'use strict';

this.template('_config.json', 'config.json');
this.copy('list.json', 'slides/list.json');
};

@@ -62,0 +63,0 @@

4

app/templates/_bower.json

@@ -5,4 +5,6 @@ {

"dependencies": {
"reveal.js": "~2.4"
"reveal.js": "~2.4",
"handlebars": "~1.0.0",
"jquery": "~1.10"
}
}
{
"name": "generator-reveal",
"version": "0.0.1",
"version": "0.0.2",
"description": "A Reveal.js generator for Yeoman",

@@ -5,0 +5,0 @@ "keywords": [

@@ -5,18 +5,53 @@ # Generator-reveal

## Getting started
- Make sure you have [yo](https://github.com/yeoman/yo) installed
- clone this repo
## Usage
Install `generator-reveal`:
```
git clone https://github.com/slara/generator-reveal
cd generator-reveal
npm install generator-reveal
```
- link the generator to npm: `npm link`
- Go to your new project directory
- Run: `yo reveal`
## Subgenerators:
Make a new directory, and `cd` into it:
```
mkdir my-new-project && cd $_
```
- reveal:slide
Run `yo reveal`:
```
yo reveal
```
After all files are created you can view your slides with `grunt`
```bash
grunt server
```
## Generators
Available generators:
* [reveal:slide](#slide)
### Slide
Generates a Slide Markdown file.
Example:
```bash
yo reveal:slide "Slide Title"
```
Produces `slides/slide-title.md`:
```markdown
## Slide Title
This is a new slide
```
After you fill your slide with content, you need to add the slide filename to your `slides/list.json` file, e.g.
```json
["index.md", "slide-title.md"]
```
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)
## <%= name %>
This is a new slide
This is a new slide

Sorry, the diff of this file is not supported yet

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