diff options
| Commit | 17a5d33201b35b875bde1a0b0b31ef68ba8a2350 (patch) | |
|---|---|---|
| Author | 2020-08-16 08:37:16 +0300 | |
| Committer | 2020-08-16 08:37:16 +0300 | |
| Files | e1b1ef0e243714aad5facfd89d08f8a83b068994 | |
| IPL-17a5d33201b35b875bde1a0b0b31ef68ba8a2350.tar IPL-17a5d33201b35b875bde1a0b0b31ef68ba8a2350.tar.gz IPL-17a5d33201b35b875bde1a0b0b31ef68ba8a2350.zip | ||
| Parent | 003000620058fca757f15cf4d8a8bcb14a5264e6 (diff) | |
Remove just committed reveal-hugo copy
47 files changed, 0 insertions, 6312 deletions
diff --git a/website/themes/reveal-hugo/.gitignore b/website/themes/reveal-hugo/.gitignore deleted file mode 100644 index 36170a7..0000000 --- a/website/themes/reveal-hugo/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -public diff --git a/website/themes/reveal-hugo/LICENSE b/website/themes/reveal-hugo/LICENSE deleted file mode 100644 index 9d53fe0..0000000 --- a/website/themes/reveal-hugo/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 Josh Dzielak - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE.
\ No newline at end of file diff --git a/website/themes/reveal-hugo/README.md b/website/themes/reveal-hugo/README.md deleted file mode 100644 index b0e9508..0000000 --- a/website/themes/reveal-hugo/README.md +++ /dev/null @@ -1,371 +0,0 @@ -# reveal-hugo - -A Hugo theme for [Reveal.js](https://revealjs.com/) that makes authoring and customization a breeze. With it, you can turn any properly-formatted Hugo content into a HTML presentation. - - - -## Example - -Using reveal-hugo, presentations with multiple slides can be created with just one markdown file, like so: - -```markdown -+++ -title = "How to say hello" -+++ - -# English -Hello. - ---- - -# Français -Salut. - ---- - -# Español -Holá. -``` - -Just use `---` to split content into different slides. - -## Demo - -Visit [reveal-hugo.dzello.com](https://reveal-hugo.dzello.com/) to see a presentation created with this theme and learn more about what you can do. Jump to the [exampleSite](exampleSite) folder in this repository to see the source code for that presentation. - -If you're looking for a very simple reveal-hugo app you can use as a boilerplate, see the [programming-quotes](https://github.com/dzello/programming-quotes) repository. - -For a full-length blog post about reveal-hugo, checkout [Harness the Power of Static Site Generators to Create Presentations](https://forestry.io/blog/harness-the-power-of-static-to-create-presentations/) on the [Forestry.io blog](https://forestry.io/blog). - -## Tutorial - -You should be able to complete this section with no prior knowledge of Hugo or Reveal.js. At the end, you'll have a working presentation with instant reloading. - -### Create your first presentation - -To start, [install Hugo](https://gohugo.io/) and create a new Hugo site: - -```shell -$ hugo new site my-presentation -``` - -Change into the directory of the new site: - -```shell -$ cd my-presentation -``` - -Add the reveal-hugo theme as a submodule in the themes directory: - -```shell -$ git submodule add git@github.com:dzello/reveal-hugo.git themes/reveal-hugo -``` - -Open `config.toml` and add the following contents: - -```toml -theme = "reveal-hugo" - -[outputFormats.Reveal] -baseName = "index" -mediaType = "text/html" -isHTML = true -``` -This tells Hugo to use the reveal-hugo theme and it registers a new output format called "Reveal". - -Next, create a file in `content/_index.md` and add the following: - -```markdown -+++ -title = "My presentation" -outputs = ["Reveal"] -+++ - -# Hello world! - -This is my first slide. -``` - -Back on the command line, run: - -```shell -$ hugo server -``` - -Navigate to [http://localhost:1313/](http://localhost:1313/) and you should see your presentation. - - - -To add more slides, just add content to `_index.md` or create new markdown files in `content/home`. Remember that each slide must be separated by `---` with blank lines above and below. - -```markdown -# Hello world! - -This is my first slide. - ---- - -# Hello Mars! - -This is my second slide. -``` - -## Usage - -The Usage guide is contained in the example presentation that lives in this repository in the [exampleSite](./exampleSite) directory. You can access a live version at [reveal-hugo.dzello.com](https://reveal-hugo.dzello.com/). - -### Root vs. section presentations - -Here's what the folder structure would look like with one root presentation and one section presentation. - -``` -- content - - home # special section for appending to root presentation - - body.md # appends to the root presentation - - conclusion.md # appends to the root presentation - - _index.md # beginning of the root presentation - - ted-talk - - _index.md # beginning of the ted talk presentation - - body.md # appends to the ted talk presentation - - conclusion.md # appends to the ted talk presentation -``` - -This will create two presentations, one at `/` and one at `/ted-talk/`. The order that slides are appended to each can be controlled by the `weight` parameter specified in each file's front matter. The slides in `_index.md` will always come first, though you don't have to put any slides in there if you want to. - -### Shortcodes - -reveal-hugo comes with a variety of shortcodes that help you take advantage of some very useful Reveal.js features. - -#### fragment shortcode - -Wrap any content in the fragment shortcode and it will appear incrementally. Great for bulleted lists where you want one bullet point at a a time to appear. - -```markdown -- {{% fragment %}}One{{% /fragment %}} -- {{% fragment %}}Two{{% /fragment %}} -- {{% fragment %}}Three{{% /fragment %}} -``` - -#### frag shortcode - -Like fragment but more terse - content is placed inline in a self-closing shortcode. - -```markdown -- {{< frag c="One" />}} -- {{< frag c="Two" />}} -- {{< frag c="Three" />}} -``` - -#### slide shortcode - -The slide shortcode lets you set custom HTML and Reveal.js attributes for each slide - things like id, class, transition, background and [much more](https://github.com/hakimel/reveal.js/#slide-attributes). The names are the same as Reveal.js but without the 'data-' prefix. - -```markdown -{{% slide id="hello" background="#FFF" transition="zoom" transition-speed="fast" %}} - -# Hello, world! - -{{% /slide %}} -``` - -Here's a list of documented slide attributes from the Reveal.js docs: - -- `autoslide` -- `state` -- `background` -- `background-color` -- `background-image` -- `background-size` -- `background-position` -- `background-repeat` -- `background-video` -- `background-video-loop` -- `background-video-muted` -- `background-interactive` -- `background-iframe` -- `background-transition` -- `transition` (can have different in and out transitions) -- `transition-speed` -- `notes` (can also use the note shortcode) -- `timing` - -You can also pass through your own, a `data-` prefix will be added automatically to each one (except for `id` and `class`). - -#### section shortcode - -To create groups of slides that can be navigated vertically, surround your markdown with the section shortcode. - -```markdown -{{% section %}} - -# Vertical slide 1 - ---- - -# Vertical slide 2 - -{{% /section %}} -``` - -#### note shortcode - -Add [speaker notes](https://github.com/hakimel/reveal.js/#speaker-notes) for each slide with the note shortcode. - -```markdown -{{% note %}} -Don't forget to thank the audience. -{{% /note %}} -``` - -*💡 Tip: you can also add notes by adding a `note` attribute to the slide shortcode.* - -#### markdown shortcode - -Markdown surrounded by the markdown shortcode will not be rendered by Hugo but by Reveal.js itself. This is useful if you want to use some native Reveal.js markdown syntax that isn't supported by reveal-hugo. - -```markdown -{{% markdown %}} -# I'm rendered... -...by Reveal.js -{{% /markdown %}} -``` - -### HTML slides - -If you need to create fancier HTML for a slide than you can do with markdown, just add `data-noprocess` to the <section> element. - -```html -<section data-noprocess> - <h1>Hello, world!</h1> -</section> -``` - -### Reusable slides and sections - -Sometimes you need to reuse a slide in the same presentation or across different presentations. reveal-hugo makes use of Hugo data templates to make both cases easy. - -To create reusable slides, create a TOML (or JSON or YAML) file in your site's data directory. Give it a name that reflects its content or just `slides.toml`. In that file, add a key for each reusable slide. The name should reflect the slide's content and the value should be the slide's markdown. - -```toml -thankyou = ''' - -# Thank you! - -Any questions? - -''' -``` - -*💡 Tip: TOML's multiline string syntax comes in handy here, note the '''.* - -Each key can contain **one or more** slides separated by `---` and newlines. That way you can create reusable sections. - -```toml -thankyou = ''' - -# Thank you! - ---- - -Any questions? - -''' -``` - -To render a slide from a data template, use the slide shortcode with a content attribute: - -```markdown -{{% slide content="slides.thankyou" /%}} -``` - -The part before the "." is the name of the file in the data directory. The part after the dot is the key to look up in that file. - -You can use all the additional slide shortcode attributes. They will be applied to every slide in the data template. - -## Configuration - -Customize the Reveal.js presentation by setting these values in `config.toml` or the front matter of any presentation's `index.md` file. - -- `params.reveal_hugo.theme`: The Reveal.js theme used, defaults to "black" -- `params.reveal_hugo.custom_theme`: The path to a locally hosted Reveal.js theme -- `params.reveal_hugo.highlight_theme`: The [highlight.js](https://highlightjs.org/) theme used, defaults to "default" - -Include any other attributes in `params.reveal_hugo` that you'd like to be fed as arguments to `Reveal.initialize` in **snakecase**. So `slideNumber` becomes `slide_number`. The reason is that Hugo lowercases all params and Reveal.js is case-sensitive. Params are converted from snakecase to camelcase before passing to Reveal.js. - -See the [extensive list of Reveal.js configuration options](https://github.com/hakimel/reveal.js/#configuration) here. The defaults used by this theme are located in `data/reveal_hugo.toml`. - -If you're new to TOML, this is how it should look in your `config.toml`: - -```TOML -[params.reveal_hugo] -theme = "moon" -``` - -Or in the front matter of an `_index.md` file: - -```TOML -[reveal_hugo] -theme = "moon" -``` - -## Adding HTML to the layout - -If you need to add something to the HTML page, just override one or both of the empty partials that live at `layouts/partials/reveal-hugo/body.html` and `layouts/partials/reveal-hugo/head.html`. These partials are injected into the page just before the closing of the body and head tags respectively. Common uses would be to add custom CSS or JavaScript to your presentation. - -## Recipes - -### Add a Reveal.js presentation to an existing Hugo site - -If your Hugo site already has a theme but you'd like to create a presentation from some of its content, that's very easy. First, manually copy a few files out of this theme into a few of your site's directories: - -```shell -cd my-hugo-site -git clone git@github.com:dzello/reveal-hugo.git themes/reveal-hugo -cd themes/reveal-hugo -cp -r data layouts static ../../ -``` - -Files and directories are named such that they shouldn't conflict with your existing content. Of course, you should double check before copying, especially the shortcodes which can't be put under a directory. - -Next, add the Reveal output format to your site's `config.toml` file - -```toml -[outputFormats.Reveal] -baseName = "index" -mediaType = "text/html" -isHTML = true -``` - -Now you can add `outputs = ["Reveal"]` to the front matter of any section's `_index.md` file and that section's content will be combined into a presentation and written to `index.html`. If you already have a `index.html` page for that section, just change the `baseName` above to `reveal` and the presentation will be placed in a `reveal.html` file instead. - -Note: If you specify `outputs = ["Reveal"]` for a single content file, you can prevent anything being generated for that file. This is handy if you other default layouts that would have created a regular HTML file from it. Only the list file is required for the presentation. - -## Reveal.js tips - -These are some useful Reveal.js features and shortcuts. - -- 's' - type 's' to enter speaker mode, which opens a separate window with a time and speaker notes -- 'o' - type 'o' to enter overview mode and scroll through slide thumbnails -- 'f' - type 'f' to go into full-screen mode - -Here are a few useful Reveal.js-related tools: - -- [decktape](https://github.com/astefanutti/decktape) for exporting a presentation as a PDF -- More [revealjs themes](https://github.com/dzello/revealjs-themes) including robot-lung and sunblind - -Find many more on the Reveal.js wiki: [Plugins, tools and hardware](https://github.com/hakimel/reveal.js/wiki/Plugins,-Tools-and-Hardware). - -## Contributing - -Contributions are very welcome. To run the example site in this repository locally, clone this repository and run: - -```shell -hugo server -s exampleSite -``` - -or simply... - -```shell -npm start -``` - diff --git a/website/themes/reveal-hugo/data/reveal_hugo.toml b/website/themes/reveal-hugo/data/reveal_hugo.toml deleted file mode 100644 index 973cc27..0000000 --- a/website/themes/reveal-hugo/data/reveal_hugo.toml +++ /dev/null @@ -1,8 +0,0 @@ -[defaults] -theme = 'black' -highlight_theme = 'default' -controls = true -progress = true -history = true -center = true -transition = 'slide' # none/fade/slide/convex/concave/zoom diff --git a/website/themes/reveal-hugo/exampleSite/.forestry/settings.yml b/website/themes/reveal-hugo/exampleSite/.forestry/settings.yml deleted file mode 100644 index 8130263..0000000 --- a/website/themes/reveal-hugo/exampleSite/.forestry/settings.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -new_page_extension: md -auto_deploy: false -admin_path: -webhook_url: -sections: -upload_dir: "./exampleSite/static/uploads" -public_path: "/uploads" -front_matter_path: '' -use_front_matter_path: false -file_template: ":filename:" -version: 0.38.1 diff --git a/website/themes/reveal-hugo/exampleSite/config.toml b/website/themes/reveal-hugo/exampleSite/config.toml deleted file mode 100644 index a5910a0..0000000 --- a/website/themes/reveal-hugo/exampleSite/config.toml +++ /dev/null @@ -1,20 +0,0 @@ -baseURL = "https://example.com/" -languageCode = "en-us" -title = "A Hugo theme for creating Reveal.js presentations" -disableKinds = ["sitemap", "RSS"] -theme = "." -themesDir = "../" - -[author] -name = "Josh Dzielak" - -[params] -description = "Includes a handy markdown-based syntax and shortcodes to help you get presentations done fast" - -[params.reveal_hugo] -history = true - -[outputFormats.Reveal] -baseName = "index" -mediaType = "text/html" -isHTML = true diff --git a/website/themes/reveal-hugo/exampleSite/content/_index.md b/website/themes/reveal-hugo/exampleSite/content/_index.md deleted file mode 100644 index fba3be6..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/_index.md +++ /dev/null @@ -1,22 +0,0 @@ -+++ -title = "reveal-hugo" -description = "A Hugo theme for creating Reveal.js presentations" -outputs = ["Reveal"] -[reveal_hugo] -custom_theme = "reveal-hugo/themes/robot-lung.css" -margin = 0.2 -highlight_theme = "color-brewer" -transition = "slide" -transition_speed = "fast" -[reveal_hugo.templates.hotpink] -class = "hotpink" -background = "#FF4081" -+++ - -# 📽️ - -# reveal-hugo - -A Hugo theme for creating Reveal.js presentations. - -~ made by [@dzello](https://dzello.com/) ~
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/content/example/_index.md b/website/themes/reveal-hugo/exampleSite/content/example/_index.md deleted file mode 100644 index 91a81a7..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/example/_index.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "Example of a section presentation" -outputs = ["Reveal"] -[reveal_hugo] -theme = "moon" -+++ - -# Section Presentation - -Only content from this section will go into this presentation.
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/content/example/presentation.md b/website/themes/reveal-hugo/exampleSite/content/example/presentation.md deleted file mode 100644 index 585bab5..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/example/presentation.md +++ /dev/null @@ -1,7 +0,0 @@ -+++ -weight = 10 -+++ - -# Including... - -Content from files like this one.
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/content/home/features.md b/website/themes/reveal-hugo/exampleSite/content/home/features.md deleted file mode 100644 index b00c363..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/home/features.md +++ /dev/null @@ -1,19 +0,0 @@ -+++ -weight = 10 -+++ - -## What's included? - -- All Reveal.js HTML, CSS and JS (v3.6.0) -- All out-of-the-box Reveal.js themes -- Two custom Reveal.js themes (including this one) - ---- - -## Features - -- Write slides in Markdown in one or more files -- Shorcodes for fragments, sections, slides & more -- All Reveal.js parameters can be customized -- Any Hugo section can be output as a presentation - diff --git a/website/themes/reveal-hugo/exampleSite/content/home/resources.md b/website/themes/reveal-hugo/exampleSite/content/home/resources.md deleted file mode 100644 index e19cbc1..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/home/resources.md +++ /dev/null @@ -1,43 +0,0 @@ -+++ -weight = 42 -+++ - -# Resources - ---- - -## Code and docs - -- [reveal-hugo Github README](https://github.com/dzello/reveal-hugo) -- [Content for this presentation](https://github.com/dzello/reveal-hugo/tree/master/exampleSite) - ---- - -## External resources - -- [Reveal.js](https://revealjs.com/) -- [Hugo docs](https://gohugo.io/) -- [Hugo output format docs](https://gohugo.io/templates/output-formats/) - ---- - -## Designed to... - -- Deploy to [Netlify](https://netlify.com/) -- Edit with [Forestry](https://forestry.io/) - ---- - -# 🙏 - -Contribute by opening issues and pull requests. - ---- - -# Thanks! - ---- - -# ↩️ - -#### [Start over](#) diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/fragment.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/fragment.md deleted file mode 100644 index e53592c..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/fragment.md +++ /dev/null @@ -1,41 +0,0 @@ -+++ -weight = 30 -+++ - -## Fragment - -The `fragment` shortcode makes content appear incrementally. - -``` -{{%/* fragment */%}} One {{%/* /fragment */%}} -{{%/* fragment */%}} Two {{%/* /fragment */%}} -{{%/* fragment */%}} Three {{%/* /fragment */%}} -``` - -{{% fragment %}} One {{% /fragment %}} -{{% fragment %}} Two {{% /fragment %}} -{{% fragment %}} Three {{% /fragment %}} - ---- - -## Frag - -The `frag` shortcode is more terse than `fragment`. It accepts a `c` attribute. - -``` -{{</* frag c="One" */>}} -{{</* frag c="Two" */>}} -{{</* frag c="Three" */>}} -``` - -{{< frag c="One" >}} -{{< frag c="Two" >}} -{{< frag c="Three" >}} - ---- - -Both `fragment` and `frag` accept two additional parameters: - -- `class`: sets the class of the wrapping `span` element -- `index`: controls the order in which sections will appear - diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/introduction.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/introduction.md deleted file mode 100644 index 2978a52..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/introduction.md +++ /dev/null @@ -1,11 +0,0 @@ -+++ -weight = 29 -+++ - -# Shortcodes - ---- - -Hugo's shortcodes are similar to functions or templates that extend what you can do with Markdown. - -[Shortcode documentation](https://gohugo.io/content-management/shortcodes/)
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/markdown.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/markdown.md deleted file mode 100644 index 21167bd..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/markdown.md +++ /dev/null @@ -1,38 +0,0 @@ -+++ -weight = 36 -+++ - -{{< markdown >}} - -## Markdown - -Reveal.js has its own [markdown processor](https://github.com/hakimel/reveal.js#markdown). To use that instead of Hugo, surround a slide with the markdown shortcode. - -``` -{{</* markdown */>}} - -# Hello world! - -{{</* /markdown */>}} -``` - -<br> -<small> -💡 Make sure to use the `{{</* */>}}` shortcode syntax to avoid rendering by Hugo. -</small> - ---- - -<!-- .slide: data-background="#FF4081" --> - -Reveal.js markdown uses HTML comments to change slide properties, like background color. - -``` -{{</* markdown */>}} -<!-- .slide: data-background="#FF4081" --> -# I'm a colorful slide -{{</* /markdown */>}} -``` - -{{< /markdown >}} - diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/other.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/other.md deleted file mode 100644 index abc9d5a..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/other.md +++ /dev/null @@ -1,33 +0,0 @@ -+++ -weight = 38 -+++ - -## Note - -Add speaker notes to your presentation with the note shortcode. - -```markdown -{{%/* note */%}} - -Type 's' to see this slide's speaker notes. - -{{%/* /note */%}} -``` - -{{% note %}} - -You found the speaker notes! - -{{% /note %}} - ---- - -<section data-noprocess> - <h2>Write slides in HTML</h2> - <p>Use a <code>section</code> tag with a <code>data-noprocess</code> attribute to avoid any processing by reveal-hugo.</p> - <pre> -<section data-noprocess> - <h1>Hello world!</h1> -<section></pre> - <small>💡 This is useful if you can't get Markdown to output exactly what you want.</small> -</section> diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/section.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/section.md deleted file mode 100644 index 797ba21..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/section.md +++ /dev/null @@ -1,44 +0,0 @@ -+++ -weight = 33 -+++ - -{{% section %}} - -## Section - -The `section` shortcode groups slides into a **vertical display**. - -<br> -<small> -use the down arrow or swipe down to continue -</small> -<br> -<a href="#" class="navigate-down">🔽</a> - ---- - -Put the shortcode around the slides you want to group together. - -```markdown -{{%/* section */%}} - -## Section slide 1 - ---- - -## Section slide 2 - -{{%/* /section */%}} -``` - -Keep going down. - ---- - -## That's it! - -Use the right arrow or swipe right to continue. - -{{% /section %}} - - diff --git a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/slide.md b/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/slide.md deleted file mode 100644 index 473199e..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/home/shortcodes/slide.md +++ /dev/null @@ -1,137 +0,0 @@ -+++ -weight = 34 -+++ - -## Slide - -Customize individual slide attributes like id, class, background color and transition. Use the same keys as Reveal.js but omit the 'data-' prefix. - ---- - -{{% slide id="custom-1" transition="zoom" transition-speed="fast" %}} - -## Custom slide 1 - -``` -{{%/* slide id="custom-1" transition="zoom" transition-speed="fast" */%}} - -## Custom slide 1 - -{{%/* /slide */%}} -``` - -{{% /slide %}} - ---- - -{{% slide id="custom-2" background="#FF4081" %}} - -## Custom slide 2 - -``` -{{%/* slide id="custom-2" background="#FF4081" */%}} - -## Custom slide 2 - -{{%/* /slide */%}} -``` - -{{% /slide %}} - ---- - -💡 Tip: Setting a slide's `id` attribute makes it easy to link to from other parts of the presentation. - -<br> -```markdown -Go to [custom slide 1](#custom-1) -``` - -<small> -Go to [custom slide 1](#custom-1) -</small> - ---- - -Slide attribute possibilities from the [Reveal.js docs](https://github.com/hakimel/reveal.js): - -- `autoslide` -- `state` -- `background` -- `background-color` -- `background-image` -- `background-size` -- `background-position` -- `background-repeat` - ---- - -- `background-video` -- `background-video-loop` -- `background-video-muted` -- `background-interactive` -- `background-iframe` -- `background-transition` -- `transition` (can have different in and out transitions) -- `transition-speed` -- `notes` (can also use the note shortcode) -- `timing` - ---- - -{{% section %}} - -## Slide templates - -Store sets of common slide attributes in front matter variables and apply them to slides with the template attribute. - -<br> -<small> -navigate down to learn more -</small> -<br> -<a href="#" class="navigate-down">🔽</a> - ---- - -Create templates in config.toml, _index.md or the current page's front matter. Put them under the **templates** key with a meaningful name: - -```toml -[reveal_hugo.templates.hotpink] -class = "hotpink" -background = "#FF4081" -``` - ---- - -{{% slide template="hotpink" %}} - -Apply the template using the **template** attribute of the slide shortcode: - -```markdown -{{%/* slide template="hotpink" */%}} - -# I'm a hot pink slide! - -{{%/* /slide */%}} -``` - -{{% /slide %}} - ---- - -If a template exists in multiple configurations, it's properties will be merged. If a property is declared multiple times, the order of precedence is: - -- page -- section (_index.md) -- site (config.toml) - -{{% /section %}} - ---- - -{{% section %}} - -{{% slide content="home.example" /%}} - -{{% /section %}} diff --git a/website/themes/reveal-hugo/exampleSite/content/home/usage.md b/website/themes/reveal-hugo/exampleSite/content/home/usage.md deleted file mode 100644 index af50dfa..0000000 --- a/website/themes/reveal-hugo/exampleSite/content/home/usage.md +++ /dev/null @@ -1,173 +0,0 @@ -+++ -weight = 20 -+++ - -# Usage - ---- - -## Prerequisite - -First, add this to your `config.toml`: - -```toml -[outputFormats.Reveal] -baseName = "index" -mediaType = "text/html" -isHTML = true -``` - ---- - -### Presentation at site root - -Create `content/_index.md`: - -```markdown -+++ -outputs = ["Reveal"] -+++ - -# Slide 1 - -Hello world! -``` - ---- - -### Add slides in same file - -Separate them by `---`: - -``` - -# Slide 1 - -Hello world! - ---- - -# Slide 2 - -Hello program! - -``` - ---- - -### Add slides with other files - -Add slides to `content/home/*.md` - -```markdown -+++ -weight = 10 -+++ - -# Slide 3 - ---- - -# Slide 4 -``` - -<small>💡 Tip: Use `weight` to specify the order that files should be added.</small> - ---- - -### Presentation at '/{section}/' - -In `content/{section}/_index.md`: - -```markdown -+++ -outputs = ["Reveal"] -+++ - -# Slide 1 - ---- - -# Slide 2 - -``` - ---- - -Add slides from other files in `content/{section}/*.md` - -```markdown -+++ -weight = 10 -+++ - -# Slide 3 - ---- - -# Slide 4 -``` - -<small>💡 Tip: Use `weight` to specify the order that files should be added.</small> - ---- - -# Configuration - ---- - -## Reveal.js themes - -Put in `config.toml` or a presentation's front matter. - -Use the `theme` key for themes that come with Reveal.js. - -```toml -[params.reveal_hugo] -theme = "moon" -highlight_theme = "zenburn" -``` - -[Reveal.js themes](https://github.com/hakimel/reveal.js/#theming) · -[highlight.js themes](https://highlightjs.org/static/demo/) - ---- - -## Use a custom theme - -Use the `custom_theme` key to point to a CSS file in the `static` directory. - -```toml -[params.reveal_hugo] -custom_theme = "reveal-hugo/themes/robot-lung.css" -``` - ---- - -## Like this theme? - -reveal-hugo comes with 2 extra Reveal.js themes: - -- [robot-lung](https://github.com/dzello/revealjs-themes#robot-lung) (this one) -- [sunblind](https://github.com/dzello/revealjs-themes#sunblind) - -<br> -<small> -They live in the `static/reveal-hugo/themes` folder and also [on Github](https://github.com/dzello/revealjs-themes). -</small> - ---- - -## Reveal.js params - -Set **snakecase** versions of Reveal.js params, which will be camelized and passed to `Reveal.initialize`. - -```toml -[params.reveal_hugo] -history = true -slide_number = true -transition = 'zoom' -transition_speed = 'fast' -``` - -[Full list of params](https://github.com/hakimel/reveal.js/#configuration) diff --git a/website/themes/reveal-hugo/exampleSite/data/home.toml b/website/themes/reveal-hugo/exampleSite/data/home.toml deleted file mode 100644 index f242290..0000000 --- a/website/themes/reveal-hugo/exampleSite/data/home.toml +++ /dev/null @@ -1,42 +0,0 @@ -example = ''' - -# Reusable slides - -Store markdown in a [data template](https://gohugo.io/templates/data-templates/) and reuse it in multiple sections or presentations. - -<br> -<small> -navigate down to learn more -</small> -<br> -<a href="#" class="navigate-down">🔽</a> - ---- - -Add an `example` key to data/home.toml: - -``` -example = "I'm a slide" -``` -<br> - -Set the `content` attribute to "home.example": - -``` -{{% slide content="home.example" /%}} -``` - -<br> -<small> -💡 Make sure to use a closing or self-closing shortcode. -</small> - ---- - -💡 Each data template entry can contain one or more slides, separated by `---` with newlines. - ---- - -💡 All other slide shortcode attributes (background, transition, etc.) can be used and will be applied to each slide in the data template entry. - -''' diff --git a/website/themes/reveal-hugo/exampleSite/layouts/partials/reveal-hugo/body.html b/website/themes/reveal-hugo/exampleSite/layouts/partials/reveal-hugo/body.html deleted file mode 100644 index 9caa4c7..0000000 --- a/website/themes/reveal-hugo/exampleSite/layouts/partials/reveal-hugo/body.html +++ /dev/null @@ -1,12 +0,0 @@ -<div class="line top"></div> -<div class="line bottom"></div> -<div class="line left"></div> -<div class="line right"></div> - -<script async src="https://www.googletagmanager.com/gtag/js?id=UA-24132749-1"></script> -<script> - window.dataLayer = window.dataLayer || []; - function gtag(){dataLayer.push(arguments);} - gtag('js', new Date()); - gtag('config', "UA-24132749-1"); -</script>
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/static/_redirects b/website/themes/reveal-hugo/exampleSite/static/_redirects deleted file mode 100644 index b711d67..0000000 --- a/website/themes/reveal-hugo/exampleSite/static/_redirects +++ /dev/null @@ -1,2 +0,0 @@ -# Redirect default Netlify subdomain to primary domain -https://revealjs-hugo.netlify.com/* https://revealjs-hugo.dzello.com/:splat 301!
\ No newline at end of file diff --git a/website/themes/reveal-hugo/exampleSite/static/favicon.ico b/website/themes/reveal-hugo/exampleSite/static/favicon.ico Binary files differdeleted file mode 100644 index 64b7e45..0000000 --- a/website/themes/reveal-hugo/exampleSite/static/favicon.ico +++ /dev/null diff --git a/website/themes/reveal-hugo/exampleSite/static/reveal-hugo/themes/robot-lung.css b/website/themes/reveal-hugo/exampleSite/static/reveal-hugo/themes/robot-lung.css deleted file mode 100644 index a080f8e..0000000 --- a/website/themes/reveal-hugo/exampleSite/static/reveal-hugo/themes/robot-lung.css +++ /dev/null @@ -1,333 +0,0 @@ -/** - - [ robot-lung ] - - A hot pink theme for Reveal.js with Roboto fonts and a colorful border. - By Josh Dzielak, https://dzello.com/, License MIT - - The bold border is optional and requires some HTML. To use it: - - 1. Add 4 divs to your HTML page: - <div class="line top"></div> - <div class="line bottom"></div> - <div class="line left"></div> - <div class="line right"></div> - - 2. Set { margin: 0.2 } in the Reveal.js initializer to make sure - your presentation content doesn't collide with the frame. - - Like the theme but don't like the colors? Don't fret. Just change - $borderColor and/or $linkColor below to something else and rebuild. - - Or if you don't want to rebuild the theme just override the .line background - property with some CSS: - - .line { - background: <new-color>; - } - -*/ -@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:300,700); -@import url(https://fonts.googleapis.com/css?family=Roboto:700); -section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 { - color: #141414; } - -.reveal .controls { - right: 50px; - bottom: 50px; } - -.line { - content: ''; - position: fixed; - background: #FF4081; - z-index: 105; } - .line.top { - left: 0; - top: 0; - width: 100%; - height: 30px; } - @media (max-width: 840px) { - .line.top { - height: 15px; } } - .line.bottom { - left: 0; - top: auto; - bottom: 0; - width: 100%; - height: 30px; } - @media (max-width: 840px) { - .line.bottom { - height: 15px; } } - .line.left { - left: 0; - top: 0; - width: 30px; - height: 200%; } - @media (max-width: 840px) { - .line.left { - width: 15px; } } - .line.right { - left: auto; - right: 0; - top: 0; - width: 30px; - height: 200%; } - @media (max-width: 840px) { - .line.right { - width: 15px; } } - -/********************************************* - * GLOBAL STYLES - *********************************************/ -body { - background: #fff; - background-color: #fff; } - -.reveal { - font-family: "Roboto Slab", serif; - font-size: 32px; - font-weight: normal; - color: #363636; } - -::selection { - color: #fff; - background: #ffc0d5; - text-shadow: none; } - -::-moz-selection { - color: #fff; - background: #ffc0d5; - text-shadow: none; } - -.reveal .slides > section, -.reveal .slides > section > section { - line-height: 1.3; - font-weight: inherit; } - -/********************************************* - * HEADERS - *********************************************/ -.reveal h1, -.reveal h2, -.reveal h3, -.reveal h4, -.reveal h5, -.reveal h6 { - margin: 0 0 20px 0; - color: #141414; - font-family: "Roboto", sans-serif; - font-weight: 700; - line-height: 1.2; - letter-spacing: normal; - text-transform: uppercase; - text-shadow: none; - word-wrap: break-word; } - -.reveal h1 { - font-size: 2.6em; } - -.reveal h2 { - font-size: 2.2em; } - -.reveal h3 { - font-size: 1.7em; } - -.reveal h4 { - font-size: 1.4em; } - -.reveal h1 { - text-shadow: none; } - -/********************************************* - * OTHER - *********************************************/ -.reveal p { - margin: 20px 0; - line-height: 1.3; } - -/* Ensure certain elements are never larger than the slide itself */ -.reveal img, -.reveal video, -.reveal iframe { - max-width: 95%; - max-height: 95%; } - -.reveal strong, -.reveal b { - font-weight: bold; } - -.reveal em { - font-style: italic; } - -.reveal ol, -.reveal dl, -.reveal ul { - display: inline-block; - text-align: left; - margin: 0 0 0 1em; } - -.reveal ol { - list-style-type: decimal; } - -.reveal ul { - list-style-type: disc; } - -.reveal ul ul { - list-style-type: square; } - -.reveal ul ul ul { - list-style-type: circle; } - -.reveal ul ul, -.reveal ul ol, -.reveal ol ol, -.reveal ol ul { - display: block; - margin-left: 40px; } - -.reveal dt { - font-weight: bold; } - -.reveal dd { - margin-left: 40px; } - -.reveal blockquote { - display: block; - position: relative; - width: 70%; - margin: 20px auto; - padding: 5px; - font-style: italic; - background: rgba(255, 255, 255, 0.05); - box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } - -.reveal blockquote p:first-child, -.reveal blockquote p:last-child { - display: inline-block; } - -.reveal q { - font-style: italic; } - -.reveal pre { - display: block; - position: relative; - width: 90%; - margin: 20px auto; - text-align: left; - font-size: 0.55em; - font-family: monospace; - line-height: 1.2em; - word-wrap: break-word; - box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } - -.reveal code { - font-family: monospace; - text-transform: none; } - -.reveal pre code { - display: block; - padding: 5px; - overflow: auto; - max-height: 400px; - word-wrap: normal; } - -.reveal table { - margin: auto; - border-collapse: collapse; - border-spacing: 0; } - -.reveal table th { - font-weight: bold; } - -.reveal table th, -.reveal table td { - text-align: left; - padding: 0.2em 0.5em 0.2em 0.5em; - border-bottom: 1px solid; } - -.reveal table th[align="center"], -.reveal table td[align="center"] { - text-align: center; } - -.reveal table th[align="right"], -.reveal table td[align="right"] { - text-align: right; } - -.reveal table tbody tr:last-child th, -.reveal table tbody tr:last-child td { - border-bottom: none; } - -.reveal sup { - vertical-align: super; } - -.reveal sub { - vertical-align: sub; } - -.reveal small { - display: inline-block; - font-size: 0.6em; - line-height: 1.2em; - vertical-align: top; } - -.reveal small * { - vertical-align: top; } - -/********************************************* - * LINKS - *********************************************/ -.reveal a { - color: #FF4081; - text-decoration: none; - -webkit-transition: color .15s ease; - -moz-transition: color .15s ease; - transition: color .15s ease; } - -.reveal a:hover { - color: #ff8db3; - text-shadow: none; - border: none; } - -.reveal .roll span:after { - color: #fff; - background: #f30053; } - -/********************************************* - * IMAGES - *********************************************/ -.reveal section img { - margin: 15px 0px; - background: rgba(255, 255, 255, 0.12); - border: 4px solid #363636; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } - -.reveal section img.plain { - border: 0; - box-shadow: none; } - -.reveal a img { - -webkit-transition: all .15s linear; - -moz-transition: all .15s linear; - transition: all .15s linear; } - -.reveal a:hover img { - background: rgba(255, 255, 255, 0.2); - border-color: #FF4081; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } - -/********************************************* - * NAVIGATION CONTROLS - *********************************************/ -.reveal .controls { - color: #FF4081; } - -/********************************************* - * PROGRESS BAR - *********************************************/ -.reveal .progress { - background: rgba(0, 0, 0, 0.2); - color: #FF4081; } - -.reveal .progress span { - -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); - -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); - transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } diff --git a/website/themes/reveal-hugo/images/reveal-hugo-hello-world.png b/website/themes/reveal-hugo/images/reveal-hugo-hello-world.png Binary files differdeleted file mode 100644 index 10d9901..0000000 --- a/website/themes/reveal-hugo/images/reveal-hugo-hello-world.png +++ /dev/null diff --git a/website/themes/reveal-hugo/images/screenshot.png b/website/themes/reveal-hugo/images/screenshot.png Binary files differdeleted file mode 100644 index 49eda5e..0000000 --- a/website/themes/reveal-hugo/images/screenshot.png +++ /dev/null diff --git a/website/themes/reveal-hugo/images/tn.png b/website/themes/reveal-hugo/images/tn.png Binary files differdeleted file mode 100644 index de89998..0000000 --- a/website/themes/reveal-hugo/images/tn.png +++ /dev/null diff --git a/website/themes/reveal-hugo/layouts/_default/baseof.reveal.html b/website/themes/reveal-hugo/layouts/_default/baseof.reveal.html deleted file mode 100644 index 1e3868b..0000000 --- a/website/themes/reveal-hugo/layouts/_default/baseof.reveal.html +++ /dev/null @@ -1,87 +0,0 @@ -<!doctype html> -{{- $reveal_cdn := "https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.6.0" -}} -{{- $highlight_cdn := "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0" -}} -<html lang="en"> - <head> - <meta charset="utf-8"> - <title>{{ or .Page.Title .Site.Title }}</title> - <meta name="description" content="{{ or .Page.Params.Description .Site.Params.Description }}"> - <meta name="author" content="{{ .Site.Author.name }}"> - <meta name="apple-mobile-web-app-capable" content="yes"> - <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> - <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> - <link rel="stylesheet" href="{{ $reveal_cdn }}/css/reveal.min.css"> - <!-- Theme used for presentation --> - {{- $theme := or .Page.Params.reveal_hugo.theme .Site.Params.reveal_hugo.theme .Site.Data.reveal_hugo.defaults.theme "black" -}} - {{- $custom_theme := or .Page.Params.reveal_hugo.custom_theme .Site.Params.reveal_hugo.custom_theme -}} - {{- if $custom_theme -}} - <link rel="stylesheet" href="{{ $custom_theme | relURL }}" id="theme"> - {{ else -}} - <link rel="stylesheet" href="{{ $reveal_cdn }}/css/theme/{{ $theme }}.css" id="theme"> - {{- end -}} - <!-- Theme used for syntax highlighting of code --> - {{- $highlight_theme := or .Page.Params.reveal_hugo.highlight_theme .Site.Params.reveal_hugo.highlight_theme .Site.Data.reveal_hugo.defaults.highlight_theme "default" -}} - <link rel="stylesheet" href="{{ $highlight_cdn }}/styles/{{ $highlight_theme }}.min.css"> - <!-- Printing and PDF exports --> - <script> - var link = document.createElement( 'link' ); - link.rel = 'stylesheet'; - link.type = 'text/css'; - link.href = window.location.search.match( /print-pdf/gi ) ? '{{ $reveal_cdn}}/css/print/pdf.css' : '{{ $reveal_cdn }}/css/print/paper.css'; - document.getElementsByTagName( 'head' )[0].appendChild( link ); - </script> - <!--[if lt IE 9]> - <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script> - <![endif]--> - {{- partial "reveal-hugo/head" . -}} - </head> - <body> - {{- block "main" . -}}{{- end -}} - <script type="application/json" id="reveal-hugo-page-params">{{ jsonify .Page.Params.reveal_hugo | safeJS }}</script> - <script type="application/json" id="reveal-hugo-site-params">{{ jsonify .Site.Params.reveal_hugo | safeJS }}</script> - <script type="application/json" id="reveal-hugo-defaults">{{ jsonify .Site.Data.reveal_hugo.defaults | safeJS }}</script> - <script type="text/javascript"> - window.revealHugoDependencies = { - dependencies: [ - { src: '{{ $reveal_cdn }}/lib/js/classList.js', condition: function() { return !document.body.classList; } }, - { src: '{{ $reveal_cdn }}/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, - { src: '{{ $reveal_cdn }}/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, - { src: '{{ $reveal_cdn }}/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }, - { src: '{{ $reveal_cdn }}/plugin/zoom-js/zoom.js', async: true }, - // the notes plugin can't run off the CDN b/c the HTML file isn't there - { src: '{{ "reveal-hugo/plugin/notes/notes.js" | relURL }}', async: true } - ]}; - </script> - <script src="{{ $reveal_cdn }}/lib/js/head.min.js"></script> - <script src="{{ $reveal_cdn }}/js/reveal.js"></script> - <script type="text/javascript"> - // Hugo lowercases all params and Reveal.js needs camelcase - // So params in Hugo must be stored in snakecase and we camelize them here - function camelize(map) { - if (map) { - Object.keys(map).forEach(function(k) { - newK = k.replace(/(\_\w)/g, function(m) { return m[1].toUpperCase() }); - if (newK != k) { - map[newK] = map[k]; - delete map[k]; - } - }); - } - return map; - } - // pattern inspired by https://github.com/RealOrangeOne/hugo-theme-revealjs - var revealHugoPageParams = JSON.parse(document.getElementById('reveal-hugo-page-params').innerHTML); - var revealHugoSiteParams = JSON.parse(document.getElementById('reveal-hugo-site-params').innerHTML); - var revealHugoDefaults = JSON.parse(document.getElementById('reveal-hugo-defaults').innerHTML); - // See all options - https://github.com/hakimel/reveal.js#configuration - var options = Object.assign({}, - camelize(revealHugoDefaults), - camelize(revealHugoSiteParams), - camelize(revealHugoPageParams), - revealHugoDependencies); - Reveal.initialize(options); - </script> - - {{ partial "reveal-hugo/body" . }} - </body> -</html> diff --git a/website/themes/reveal-hugo/layouts/_default/index.reveal.html b/website/themes/reveal-hugo/layouts/_default/index.reveal.html deleted file mode 100644 index 8faa735..0000000 --- a/website/themes/reveal-hugo/layouts/_default/index.reveal.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "main" }} - {{ partial "reveal-hugo/slides" (union (slice .Page) (where .Data.Pages "Type" "home")) }} -{{ end }} diff --git a/website/themes/reveal-hugo/layouts/_default/list.reveal.html b/website/themes/reveal-hugo/layouts/_default/list.reveal.html deleted file mode 100644 index 6c3c470..0000000 --- a/website/themes/reveal-hugo/layouts/_default/list.reveal.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "main" }} - {{ partial "reveal-hugo/slides" (union (slice .Page) .Pages) }} -{{ end }} diff --git a/website/themes/reveal-hugo/layouts/_default/single.reveal.html b/website/themes/reveal-hugo/layouts/_default/single.reveal.html deleted file mode 100644 index e69de29..0000000 --- a/website/themes/reveal-hugo/layouts/_default/single.reveal.html +++ /dev/null diff --git a/website/themes/reveal-hugo/layouts/partials/reveal-hugo/body.html b/website/themes/reveal-hugo/layouts/partials/reveal-hugo/body.html deleted file mode 100644 index f2dd4bf..0000000 --- a/website/themes/reveal-hugo/layouts/partials/reveal-hugo/body.html +++ /dev/null @@ -1 +0,0 @@ -<!-- override this partial to add content before the body tag closes -->
\ No newline at end of file diff --git a/website/themes/reveal-hugo/layouts/partials/reveal-hugo/head.html b/website/themes/reveal-hugo/layouts/partials/reveal-hugo/head.html deleted file mode 100644 index ed1e892..0000000 --- a/website/themes/reveal-hugo/layouts/partials/reveal-hugo/head.html +++ /dev/null @@ -1 +0,0 @@ -<!-- override this partial to add content before the head tag closes -->
\ No newline at end of file diff --git a/website/themes/reveal-hugo/layouts/partials/reveal-hugo/slides.html b/website/themes/reveal-hugo/layouts/partials/reveal-hugo/slides.html deleted file mode 100644 index e578882..0000000 --- a/website/themes/reveal-hugo/layouts/partials/reveal-hugo/slides.html +++ /dev/null @@ -1,24 +0,0 @@ -<div class="reveal"> - <!-- Any section element inside of this container is displayed as a slide --> - <div class="slides"> - <!-- Use the array of pages passed as a param --> - {{ range . -}} - <!-- Don't process empty content files --> - {{- if ne (len .Content) 0 -}} - <!-- Remove the <hr /> tag generated by blackfriday for footnotes --> - {{- $content := replace .Content "<div class=\"footnotes\">\n\n<hr />" "<div class=\"footnotes\">" -}} - <!-- Split the processed content by <hr /> tag --> - {{- range (split $content "<hr />") -}} - <!-- Only wrap in <section> tag if not already wrapped by shortcode --> - {{- if in . "data-noprocess" -}} -{{- . | safeHTML -}} - {{- else }} -<section> - {{- . | safeHTML }} -</section> - {{- end -}} - {{- end -}} - {{- end -}} - {{- end }} - </div> -</div>
\ No newline at end of file diff --git a/website/themes/reveal-hugo/layouts/shortcodes/frag.html b/website/themes/reveal-hugo/layouts/shortcodes/frag.html deleted file mode 100644 index c1de8c8..0000000 --- a/website/themes/reveal-hugo/layouts/shortcodes/frag.html +++ /dev/null @@ -1,4 +0,0 @@ -<span class='fragment {{ .Get "class" }}' - {{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}> - {{ .Get "c" }} -</span>
\ No newline at end of file diff --git a/website/themes/reveal-hugo/layouts/shortcodes/fragment.html b/website/themes/reveal-hugo/layouts/shortcodes/fragment.html deleted file mode 100644 index dc41e03..0000000 --- a/website/themes/reveal-hugo/layouts/shortcodes/fragment.html +++ /dev/null @@ -1,4 +0,0 @@ -<span class='fragment {{ .Get "class" }}' - {{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}> - {{ .Inner }} -</span>
\ No newline at end of file diff --git a/website/themes/reveal-hugo/layouts/shortcodes/markdown.html b/website/themes/reveal-hugo/layouts/shortcodes/markdown.html deleted file mode 100644 index f5effbc..0000000 --- a/website/themes/reveal-hugo/layouts/shortcodes/markdown.html +++ /dev/null @@ -1,8 +0,0 @@ -<section data-noprocess data-markdown - data-separator="^\r?\n---\r?\n$" - data-separator-vertical="^\r?\n------\r?\n$" - data-separator-notes="notes?:"> - <script type="text/template"> - {{ .Inner }} - </script> -</section>
\ No newline at end of file diff --git a/website/themes/reveal-hugo/layouts/shortcodes/note.html b/website/themes/reveal-hugo/layouts/shortcodes/note.html deleted file mode 100644 index 5d28fce..0000000 --- a/website/themes/reveal-hugo/layouts/shortcodes/note.html +++ /dev/null @@ -1 +0,0 @@ -<aside class="notes">{{ .Inner }}</aside>
\ No newline at end of file diff --git a/website/themes/reveal-hugo/layouts/shortcodes/section.html b/website/themes/reveal-hugo/layouts/shortcodes/section.html deleted file mode 100644 index 43611a4..0000000 --- a/website/themes/reveal-hugo/layouts/shortcodes/section.html +++ /dev/null @@ -1,3 +0,0 @@ -<section data-shortcode-section> -{{ .Inner }} -</section>
\ No newline at end of file diff --git a/website/themes/reveal-hugo/layouts/shortcodes/slide.html b/website/themes/reveal-hugo/layouts/shortcodes/slide.html deleted file mode 100644 index 7bb41ec..0000000 --- a/website/themes/reveal-hugo/layouts/shortcodes/slide.html +++ /dev/null @@ -1,48 +0,0 @@ -{{- $scratch := .Scratch -}} -{{- $scratch.Set "slides" slice -}} -{{- if len .Inner -}} - {{- $scratch.Add "slides" .Inner -}} -{{- end -}} -{{- $content := .Get "content" -}} -{{- if $content -}} - {{- $lookup := split $content "." }} - {{- $html := index .Page.Site.Data (index $lookup 0) (index $lookup 1) | markdownify -}} - {{- $slides := split $html "<hr />" -}} - {{- range $slides -}} - {{- $scratch.Add "slides" . -}} - {{- end -}} -{{- end -}} -{{- $params := . -}} -{{- $noPrefix := slice "id" "class" -}} -{{- $noOutput := slice "content" "template" -}} -{{- range $scratch.Get "slides" }} -<section data-noprocess data-shortcode-slide - {{- $template := $params.Get "template" -}} - {{- if $template -}} - {{- $scratch.Add "templateParams" (slice $.Site.Params.reveal_hugo.templates) -}} - {{- if ne $.Page.File.LogicalName "_index.md" -}} - {{- $scratch.Add "templateParams" (slice ($.Site.GetPage $.Page.Section).Params.reveal_hugo.templates) -}} - {{- end -}} - {{- $scratch.Add "templateParams" (slice $.Page.Params.reveal_hugo.templates) -}} - {{- range ($scratch.Get "templateParams") -}} - {{- if (ne . nil) -}} - {{- range $key, $value := (index . $template) -}} - {{- $scratch.SetInMap "template" $key $value | safeHTMLAttr -}} - {{- end -}} - {{- end -}} - {{- end -}} - {{- range $key, $value := ($scratch.Get "template") }} - {{- $attrName := cond (in $noPrefix $key) $key (delimit (slice "data" $key) "-") }} - {{ $attrName | safeHTMLAttr }}="{{ $value }}" - {{- end }} - data-template="{{ $template }}" - {{- end -}} - {{- range $key, $value := $.Params -}} - {{- if not (in $noOutput $key) -}} - {{- $attrName := cond (in $noPrefix $key) $key (delimit (slice "data" $key) "-") }} - {{ $attrName | safeHTMLAttr }}="{{ $value }}" - {{- end -}} - {{- end -}}> - {{ . | safeHTML }} -</section> -{{- end -}}
\ No newline at end of file diff --git a/website/themes/reveal-hugo/netlify.toml b/website/themes/reveal-hugo/netlify.toml deleted file mode 100644 index 80cef0f..0000000 --- a/website/themes/reveal-hugo/netlify.toml +++ /dev/null @@ -1,9 +0,0 @@ -[build] -command = "hugo -s exampleSite" -publish = "exampleSite/public" - -[context.production.environment] -HUGO_VERSION = "0.37.1" - -[context.deploy-preview.environment] -HUGO_VERSION = "0.37.1"
\ No newline at end of file diff --git a/website/themes/reveal-hugo/package-lock.json b/website/themes/reveal-hugo/package-lock.json deleted file mode 100644 index 0eefc96..0000000 --- a/website/themes/reveal-hugo/package-lock.json +++ /dev/null @@ -1,3112 +0,0 @@ -{ - "requires": true, - "lockfileVersion": 1, - "dependencies": { - "npm": { - "version": "6.14.6", - "resolved": "https://registry.npmjs.org/npm/-/npm-6.14.6.tgz", - "integrity": "sha512-axnz6iHFK6WPE0js/+mRp+4IOwpHn5tJEw5KB6FiCU764zmffrhsYHbSHi2kKqNkRBt53XasXjngZfBD3FQzrQ==", - "requires": { - "JSONStream": "^1.3.5", - "abbrev": "~1.1.1", - "ansicolors": "~0.3.2", - "ansistyles": "~0.1.3", - "aproba": "^2.0.0", - "archy": "~1.0.0", - "bin-links": "^1.1.7", - "bluebird": "^3.5.5", - "byte-size": "^5.0.1", - "cacache": "^12.0.3", - "call-limit": "^1.1.1", - "chownr": "^1.1.4", - "ci-info": "^2.0.0", - "cli-columns": "^3.1.2", - "cli-table3": "^0.5.1", - "cmd-shim": "^3.0.3", - "columnify": "~1.5.4", - "config-chain": "^1.1.12", - "debuglog": "*", - "detect-indent": "~5.0.0", - "detect-newline": "^2.1.0", - "dezalgo": "~1.0.3", - "editor": "~1.0.0", - "figgy-pudding": "^3.5.1", - "find-npm-prefix": "^1.0.2", - "fs-vacuum": "~1.2.10", - "fs-write-stream-atomic": "~1.0.10", - "gentle-fs": "^2.3.0", - "glob": "^7.1.6", - "graceful-fs": "^4.2.4", - "has-unicode": "~2.0.1", - "hosted-git-info": "^2.8.8", - "iferr": "^1.0.2", - "imurmurhash": "*", - "infer-owner": "^1.0.4", - "inflight": "~1.0.6", - "inherits": "^2.0.4", - "ini": "^1.3.5", - "init-package-json": "^1.10.3", - "is-cidr": "^3.0.0", - "json-parse-better-errors": "^1.0.2", - "lazy-property": "~1.0.0", - "libcipm": "^4.0.7", - "libnpm": "^3.0.1", - "libnpmaccess": "^3.0.2", - "libnpmhook": "^5.0.3", - "libnpmorg": "^1.0.1", - "libnpmsearch": "^2.0.2", - "libnpmteam": "^1.0.2", - "libnpx": "^10.2.2", - "lock-verify": "^2.1.0", - "lockfile": "^1.0.4", - "lodash._baseindexof": "*", - "lodash._baseuniq": "~4.6.0", - "lodash._bindcallback": "*", - "lodash._cacheindexof": "*", - "lodash._createcache": "*", - "lodash._getnative": "*", - "lodash.clonedeep": "~4.5.0", - "lodash.restparam": "*", - "lodash.union": "~4.6.0", - "lodash.uniq": "~4.5.0", - "lodash.without": "~4.4.0", - "lru-cache": "^5.1.1", - "meant": "~1.0.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.5", - "move-concurrently": "^1.0.1", - "node-gyp": "^5.1.0", - "nopt": "^4.0.3", - "normalize-package-data": "^2.5.0", - "npm-audit-report": "^1.3.2", - "npm-cache-filename": "~1.0.2", - "npm-install-checks": "^3.0.2", - "npm-lifecycle": "^3.1.4", - "npm-package-arg": "^6.1.1", - "npm-packlist": "^1.4.8", - "npm-pick-manifest": "^3.0.2", - "npm-profile": "^4.0.4", - "npm-registry-fetch": "^4.0.5", - "npm-user-validate": "~1.0.0", - "npmlog": "~4.1.2", - "once": "~1.4.0", - "opener": "^1.5.1", - "osenv": "^0.1.5", - "pacote": "^9.5.12", - "path-is-inside": "~1.0.2", - "promise-inflight": "~1.0.1", - "qrcode-terminal": "^0.12.0", - "query-string": "^6.8.2", - "qw": "~1.0.1", - "read": "~1.0.7", - "read-cmd-shim": "^1.0.5", - "read-installed": "~4.0.3", - "read-package-json": "^2.1.1", - "read-package-tree": "^5.3.1", - "readable-stream": "^3.6.0", - "readdir-scoped-modules": "^1.1.0", - "request": "^2.88.0", - "retry": "^0.12.0", - "rimraf": "^2.7.1", - "safe-buffer": "^5.1.2", - "semver": "^5.7.1", - "sha": "^3.0.0", - "slide": "~1.1.6", - "sorted-object": "~2.0.1", - "sorted-union-stream": "~2.1.3", - "ssri": "^6.0.1", - "stringify-package": "^1.0.1", - "tar": "^4.4.13", - "text-table": "~0.2.0", - "tiny-relative-date": "^1.3.0", - "uid-number": "0.0.6", - "umask": "~1.1.0", - "unique-filename": "^1.1.1", - "unpipe": "~1.0.0", - "update-notifier": "^2.5.0", - "uuid": "^3.3.3", - "validate-npm-package-license": "^3.0.4", - "validate-npm-package-name": "~3.0.0", - "which": "^1.3.1", - "worker-farm": "^1.7.0", - "write-file-atomic": "^2.4.3" - }, - "dependencies": { - "JSONStream": { - "version": "1.3.5", - "bundled": true, - "requires": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - } - }, - "abbrev": { - "version": "1.1.1", - "bundled": true - }, - "agent-base": { - "version": "4.3.0", - "bundled": true, - "requires": { - "es6-promisify": "^5.0.0" - } - }, - "agentkeepalive": { - "version": "3.5.2", - "bundled": true, - "requires": { - "humanize-ms": "^1.2.1" - } - }, - "ajv": { - "version": "5.5.2", - "bundled": true, - "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" - } - }, - "ansi-align": { - "version": "2.0.0", - "bundled": true, - "requires": { - "string-width": "^2.0.0" - } - }, - "ansi-regex": { - "version": "2.1.1", - "bundled": true - }, - "ansi-styles": { - "version": "3.2.1", - "bundled": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "ansicolors": { - "version": "0.3.2", - "bundled": true - }, - "ansistyles": { - "version": "0.1.3", - "bundled": true - }, - "aproba": { - "version": "2.0.0", - "bundled": true - }, - "archy": { - "version": "1.0.0", - "bundled": true - }, - "are-we-there-yet": { - "version": "1.1.4", - "bundled": true, - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "asap": { - "version": "2.0.6", - "bundled": true - }, - "asn1": { - "version": "0.2.4", - "bundled": true, - "requires": { - "safer-buffer": "~2.1.0" - } - }, - "assert-plus": { - "version": "1.0.0", - "bundled": true - }, - "asynckit": { - "version": "0.4.0", - "bundled": true - }, - "aws-sign2": { - "version": "0.7.0", - "bundled": true - }, - "aws4": { - "version": "1.8.0", - "bundled": true - }, - "balanced-match": { - "version": "1.0.0", - "bundled": true - }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "bundled": true, - "optional": true, - "requires": { - "tweetnacl": "^0.14.3" - } - }, - "bin-links": { - "version": "1.1.7", - "bundled": true, - "requires": { - "bluebird": "^3.5.3", - "cmd-shim": "^3.0.0", - "gentle-fs": "^2.3.0", - "graceful-fs": "^4.1.15", - "npm-normalize-package-bin": "^1.0.0", - "write-file-atomic": "^2.3.0" - } - }, - "bluebird": { - "version": "3.5.5", - "bundled": true - }, - "boxen": { - "version": "1.3.0", - "bundled": true, - "requires": { - "ansi-align": "^2.0.0", - "camelcase": "^4.0.0", - "chalk": "^2.0.1", - "cli-boxes": "^1.0.0", - "string-width": "^2.0.0", - "term-size": "^1.2.0", - "widest-line": "^2.0.0" - } - }, - "brace-expansion": { - "version": "1.1.11", - "bundled": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "buffer-from": { - "version": "1.0.0", - "bundled": true - }, - "builtins": { - "version": "1.0.3", - "bundled": true - }, - "byline": { - "version": "5.0.0", - "bundled": true - }, - "byte-size": { - "version": "5.0.1", - "bundled": true - }, - "cacache": { - "version": "12.0.3", - "bundled": true, - "requires": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "infer-owner": "^1.0.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "call-limit": { - "version": "1.1.1", - "bundled": true - }, - "camelcase": { - "version": "4.1.0", - "bundled": true - }, - "capture-stack-trace": { - "version": "1.0.0", - "bundled": true - }, - "caseless": { - "version": "0.12.0", - "bundled": true - }, - "chalk": { - "version": "2.4.1", - "bundled": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "chownr": { - "version": "1.1.4", - "bundled": true - }, - "ci-info": { - "version": "2.0.0", - "bundled": true - }, - "cidr-regex": { - "version": "2.0.10", - "bundled": true, - "requires": { - "ip-regex": "^2.1.0" - } - }, - "cli-boxes": { - "version": "1.0.0", - "bundled": true - }, - "cli-columns": { - "version": "3.1.2", - "bundled": true, - "requires": { - "string-width": "^2.0.0", - "strip-ansi": "^3.0.1" - } - }, - "cli-table3": { - "version": "0.5.1", - "bundled": true, - "requires": { - "colors": "^1.1.2", - "object-assign": "^4.1.0", - "string-width": "^2.1.1" - } - }, - "cliui": { - "version": "4.1.0", - "bundled": true, - "requires": { - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0", - "wrap-ansi": "^2.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "bundled": true - }, - "strip-ansi": { - "version": "4.0.0", - "bundled": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } - } - }, - "clone": { - "version": "1.0.4", - "bundled": true - }, - "cmd-shim": { - "version": "3.0.3", - "bundled": true, - "requires": { - "graceful-fs": "^4.1.2", - "mkdirp": "~0.5.0" - } - }, - "co": { - "version": "4.6.0", - "bundled": true - }, - "code-point-at": { - "version": "1.1.0", - "bundled": true - }, - "color-convert": { - "version": "1.9.1", - "bundled": true, - "requires": { - "color-name": "^1.1.1" - } - }, - "color-name": { - "version": "1.1.3", - "bundled": true - }, - "colors": { - "version": "1.3.3", - "bundled": true, - "optional": true - }, - "columnify": { - "version": "1.5.4", - "bundled": true, - "requires": { - "strip-ansi": "^3.0.0", - "wcwidth": "^1.0.0" - } - }, - "combined-stream": { - "version": "1.0.6", - "bundled": true, - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "bundled": true - }, - "concat-stream": { - "version": "1.6.2", - "bundled": true, - "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "config-chain": { - "version": "1.1.12", - "bundled": true, - "requires": { - "ini": "^1.3.4", - "proto-list": "~1.2.1" - } - }, - "configstore": { - "version": "3.1.2", - "bundled": true, - "requires": { - "dot-prop": "^4.1.0", - "graceful-fs": "^4.1.2", - "make-dir": "^1.0.0", - "unique-string": "^1.0.0", - "write-file-atomic": "^2.0.0", - "xdg-basedir": "^3.0.0" - } - }, - "console-control-strings": { - "version": "1.1.0", - "bundled": true - }, - "copy-concurrently": { - "version": "1.0.5", - "bundled": true, - "requires": { - "aproba": "^1.1.1", - "fs-write-stream-atomic": "^1.0.8", - "iferr": "^0.1.5", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.0" - }, - "dependencies": { - "aproba": { - "version": "1.2.0", - "bundled": true - }, - "iferr": { - "version": "0.1.5", - "bundled": true - } - } - }, - "core-util-is": { - "version": "1.0.2", - "bundled": true - }, - "create-error-class": { - "version": "3.0.2", - "bundled": true, - "requires": { - "capture-stack-trace": "^1.0.0" - } - }, - "cross-spawn": { - "version": "5.1.0", - "bundled": true, - "requires": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "dependencies": { - "lru-cache": { - "version": "4.1.5", - "bundled": true, - "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } - }, - "yallist": { - "version": "2.1.2", - "bundled": true - } - } - }, - "crypto-random-string": { - "version": "1.0.0", - "bundled": true - }, - "cyclist": { - "version": "0.2.2", - "bundled": true - }, - "dashdash": { - "version": "1.14.1", - "bundled": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, - "debug": { - "version": "3.1.0", - "bundled": true, - "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0", - "bundled": true - } - } - }, - "debuglog": { - "version": "1.0.1", - "bundled": true - }, - "decamelize": { - "version": "1.2.0", - "bundled": true - }, - "decode-uri-component": { - "version": "0.2.0", - "bundled": true - }, - "deep-extend": { - "version": "0.6.0", - "bundled": true - }, - "defaults": { - "version": "1.0.3", - "bundled": true, - "requires": { - "clone": "^1.0.2" - } - }, - "define-properties": { - "version": "1.1.3", - "bundled": true, - "requires": { - "object-keys": "^1.0.12" - } - }, - "delayed-stream": { - "version": "1.0.0", - "bundled": true - }, - "delegates": { - "version": "1.0.0", - "bundled": true - }, - "detect-indent": { - "version": "5.0.0", - "bundled": true - }, - "detect-newline": { - "version": "2.1.0", - "bundled": true - }, - "dezalgo": { - "version": "1.0.3", - "bundled": true, - "requires": { - "asap": "^2.0.0", - "wrappy": "1" - } - }, - "dot-prop": { - "version": "4.2.0", - "bundled": true, - "requires": { - "is-obj": "^1.0.0" - } - }, - "dotenv": { - "version": "5.0.1", - "bundled": true - }, - "duplexer3": { - "version": "0.1.4", - "bundled": true - }, - "duplexify": { - "version": "3.6.0", - "bundled": true, - "requires": { - "end-of-stream": "^1.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.0.0", - "stream-shift": "^1.0.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "ecc-jsbn": { - "version": "0.1.2", - "bundled": true, - "optional": true, - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "editor": { - "version": "1.0.0", - "bundled": true - }, - "encoding": { - "version": "0.1.12", - "bundled": true, - "requires": { - "iconv-lite": "~0.4.13" - } - }, - "end-of-stream": { - "version": "1.4.1", - "bundled": true, - "requires": { - "once": "^1.4.0" - } - }, - "env-paths": { - "version": "2.2.0", - "bundled": true - }, - "err-code": { - "version": "1.1.2", - "bundled": true - }, - "errno": { - "version": "0.1.7", - "bundled": true, - "requires": { - "prr": "~1.0.1" - } - }, - "es-abstract": { - "version": "1.12.0", - "bundled": true, - "requires": { - "es-to-primitive": "^1.1.1", - "function-bind": "^1.1.1", - "has": "^1.0.1", - "is-callable": "^1.1.3", - "is-regex": "^1.0.4" - } - }, - "es-to-primitive": { - "version": "1.2.0", - "bundled": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "es6-promise": { - "version": "4.2.8", - "bundled": true - }, - "es6-promisify": { - "version": "5.0.0", - "bundled": true, - "requires": { - "es6-promise": "^4.0.3" - } - }, - "escape-string-regexp": { - "version": "1.0.5", - "bundled": true - }, - "execa": { - "version": "0.7.0", - "bundled": true, - "requires": { - "cross-spawn": "^5.0.1", - "get-stream": "^3.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, - "dependencies": { - "get-stream": { - "version": "3.0.0", - "bundled": true - } - } - }, - "extend": { - "version": "3.0.2", - "bundled": true - }, - "extsprintf": { - "version": "1.3.0", - "bundled": true - }, - "fast-deep-equal": { - "version": "1.1.0", - "bundled": true - }, - "fast-json-stable-stringify": { - "version": "2.0.0", - "bundled": true - }, - "figgy-pudding": { - "version": "3.5.1", - "bundled": true - }, - "find-npm-prefix": { - "version": "1.0.2", - "bundled": true - }, - "find-up": { - "version": "2.1.0", - "bundled": true, - "requires": { - "locate-path": "^2.0.0" - } - }, - "flush-write-stream": { - "version": "1.0.3", - "bundled": true, - "requires": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.4" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "forever-agent": { - "version": "0.6.1", - "bundled": true - }, - "form-data": { - "version": "2.3.2", - "bundled": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "1.0.6", - "mime-types": "^2.1.12" - } - }, - "from2": { - "version": "2.3.0", - "bundled": true, - "requires": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "fs-minipass": { - "version": "1.2.7", - "bundled": true, - "requires": { - "minipass": "^2.6.0" - }, - "dependencies": { - "minipass": { - "version": "2.9.0", - "bundled": true, - "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } - } - } - }, - "fs-vacuum": { - "version": "1.2.10", - "bundled": true, - "requires": { - "graceful-fs": "^4.1.2", - "path-is-inside": "^1.0.1", - "rimraf": "^2.5.2" - } - }, - "fs-write-stream-atomic": { - "version": "1.0.10", - "bundled": true, - "requires": { - "graceful-fs": "^4.1.2", - "iferr": "^0.1.5", - "imurmurhash": "^0.1.4", - "readable-stream": "1 || 2" - }, - "dependencies": { - "iferr": { - "version": "0.1.5", - "bundled": true - }, - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "fs.realpath": { - "version": "1.0.0", - "bundled": true - }, - "function-bind": { - "version": "1.1.1", - "bundled": true - }, - "gauge": { - "version": "2.7.4", - "bundled": true, - "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - }, - "dependencies": { - "aproba": { - "version": "1.2.0", - "bundled": true - }, - "string-width": { - "version": "1.0.2", - "bundled": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - } - } - }, - "genfun": { - "version": "5.0.0", - "bundled": true - }, - "gentle-fs": { - "version": "2.3.0", - "bundled": true, - "requires": { - "aproba": "^1.1.2", - "chownr": "^1.1.2", - "cmd-shim": "^3.0.3", - "fs-vacuum": "^1.2.10", - "graceful-fs": "^4.1.11", - "iferr": "^0.1.5", - "infer-owner": "^1.0.4", - "mkdirp": "^0.5.1", - "path-is-inside": "^1.0.2", - "read-cmd-shim": "^1.0.1", - "slide": "^1.1.6" - }, - "dependencies": { - "aproba": { - "version": "1.2.0", - "bundled": true - }, - "iferr": { - "version": "0.1.5", - "bundled": true - } - } - }, - "get-caller-file": { - "version": "1.0.3", - "bundled": true - }, - "get-stream": { - "version": "4.1.0", - "bundled": true, - "requires": { - "pump": "^3.0.0" - } - }, - "getpass": { - "version": "0.1.7", - "bundled": true, - "requires": { - "assert-plus": "^1.0.0" - } - }, - "glob": { - "version": "7.1.6", - "bundled": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "global-dirs": { - "version": "0.1.1", - "bundled": true, - "requires": { - "ini": "^1.3.4" - } - }, - "got": { - "version": "6.7.1", - "bundled": true, - "requires": { - "create-error-class": "^3.0.0", - "duplexer3": "^0.1.4", - "get-stream": "^3.0.0", - "is-redirect": "^1.0.0", - "is-retry-allowed": "^1.0.0", - "is-stream": "^1.0.0", - "lowercase-keys": "^1.0.0", - "safe-buffer": "^5.0.1", - "timed-out": "^4.0.0", - "unzip-response": "^2.0.1", - "url-parse-lax": "^1.0.0" - }, - "dependencies": { - "get-stream": { - "version": "3.0.0", - "bundled": true - } - } - }, - "graceful-fs": { - "version": "4.2.4", - "bundled": true - }, - "har-schema": { - "version": "2.0.0", - "bundled": true - }, - "har-validator": { - "version": "5.1.0", - "bundled": true, - "requires": { - "ajv": "^5.3.0", - "har-schema": "^2.0.0" - } - }, - "has": { - "version": "1.0.3", - "bundled": true, - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-flag": { - "version": "3.0.0", - "bundled": true - }, - "has-symbols": { - "version": "1.0.0", - "bundled": true - }, - "has-unicode": { - "version": "2.0.1", - "bundled": true - }, - "hosted-git-info": { - "version": "2.8.8", - "bundled": true - }, - "http-cache-semantics": { - "version": "3.8.1", - "bundled": true - }, - "http-proxy-agent": { - "version": "2.1.0", - "bundled": true, - "requires": { - "agent-base": "4", - "debug": "3.1.0" - } - }, - "http-signature": { - "version": "1.2.0", - "bundled": true, - "requires": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - } - }, - "https-proxy-agent": { - "version": "2.2.4", - "bundled": true, - "requires": { - "agent-base": "^4.3.0", - "debug": "^3.1.0" - } - }, - "humanize-ms": { - "version": "1.2.1", - "bundled": true, - "requires": { - "ms": "^2.0.0" - } - }, - "iconv-lite": { - "version": "0.4.23", - "bundled": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "iferr": { - "version": "1.0.2", - "bundled": true - }, - "ignore-walk": { - "version": "3.0.3", - "bundled": true, - "requires": { - "minimatch": "^3.0.4" - } - }, - "import-lazy": { - "version": "2.1.0", - "bundled": true - }, - "imurmurhash": { - "version": "0.1.4", - "bundled": true - }, - "infer-owner": { - "version": "1.0.4", - "bundled": true - }, - "inflight": { - "version": "1.0.6", - "bundled": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "bundled": true - }, - "ini": { - "version": "1.3.5", - "bundled": true - }, - "init-package-json": { - "version": "1.10.3", - "bundled": true, - "requires": { - "glob": "^7.1.1", - "npm-package-arg": "^4.0.0 || ^5.0.0 || ^6.0.0", - "promzard": "^0.3.0", - "read": "~1.0.1", - "read-package-json": "1 || 2", - "semver": "2.x || 3.x || 4 || 5", - "validate-npm-package-license": "^3.0.1", - "validate-npm-package-name": "^3.0.0" - } - }, - "invert-kv": { - "version": "2.0.0", - "bundled": true - }, - "ip": { - "version": "1.1.5", - "bundled": true - }, - "ip-regex": { - "version": "2.1.0", - "bundled": true - }, - "is-callable": { - "version": "1.1.4", - "bundled": true - }, - "is-ci": { - "version": "1.2.1", - "bundled": true, - "requires": { - "ci-info": "^1.5.0" - }, - "dependencies": { - "ci-info": { - "version": "1.6.0", - "bundled": true - } - } - }, - "is-cidr": { - "version": "3.0.0", - "bundled": true, - "requires": { - "cidr-regex": "^2.0.10" - } - }, - "is-date-object": { - "version": "1.0.1", - "bundled": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "bundled": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "is-installed-globally": { - "version": "0.1.0", - "bundled": true, - "requires": { - "global-dirs": "^0.1.0", - "is-path-inside": "^1.0.0" - } - }, - "is-npm": { - "version": "1.0.0", - "bundled": true - }, - "is-obj": { - "version": "1.0.1", - "bundled": true - }, - "is-path-inside": { - "version": "1.0.1", - "bundled": true, - "requires": { - "path-is-inside": "^1.0.1" - } - }, - "is-redirect": { - "version": "1.0.0", - "bundled": true - }, - "is-regex": { - "version": "1.0.4", - "bundled": true, - "requires": { - "has": "^1.0.1" - } - }, - "is-retry-allowed": { - "version": "1.2.0", - "bundled": true - }, - "is-stream": { - "version": "1.1.0", - "bundled": true - }, - "is-symbol": { - "version": "1.0.2", - "bundled": true, - "requires": { - "has-symbols": "^1.0.0" - } - }, - "is-typedarray": { - "version": "1.0.0", - "bundled": true - }, - "isarray": { - "version": "1.0.0", - "bundled": true - }, - "isexe": { - "version": "2.0.0", - "bundled": true - }, - "isstream": { - "version": "0.1.2", - "bundled": true - }, - "jsbn": { - "version": "0.1.1", - "bundled": true, - "optional": true - }, - "json-parse-better-errors": { - "version": "1.0.2", - "bundled": true - }, - "json-schema": { - "version": "0.2.3", - "bundled": true - }, - "json-schema-traverse": { - "version": "0.3.1", - "bundled": true - }, - "json-stringify-safe": { - "version": "5.0.1", - "bundled": true - }, - "jsonparse": { - "version": "1.3.1", - "bundled": true - }, - "jsprim": { - "version": "1.4.1", - "bundled": true, - "requires": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, - "latest-version": { - "version": "3.1.0", - "bundled": true, - "requires": { - "package-json": "^4.0.0" - } - }, - "lazy-property": { - "version": "1.0.0", - "bundled": true - }, - "lcid": { - "version": "2.0.0", - "bundled": true, - "requires": { - "invert-kv": "^2.0.0" - } - }, - "libcipm": { - "version": "4.0.7", - "bundled": true, - "requires": { - "bin-links": "^1.1.2", - "bluebird": "^3.5.1", - "figgy-pudding": "^3.5.1", - "find-npm-prefix": "^1.0.2", - "graceful-fs": "^4.1.11", - "ini": "^1.3.5", - "lock-verify": "^2.0.2", - "mkdirp": "^0.5.1", - "npm-lifecycle": "^3.0.0", - "npm-logical-tree": "^1.2.1", - "npm-package-arg": "^6.1.0", - "pacote": "^9.1.0", - "read-package-json": "^2.0.13", - "rimraf": "^2.6.2", - "worker-farm": "^1.6.0" - } - }, - "libnpm": { - "version": "3.0.1", - "bundled": true, - "requires": { - "bin-links": "^1.1.2", - "bluebird": "^3.5.3", - "find-npm-prefix": "^1.0.2", - "libnpmaccess": "^3.0.2", - "libnpmconfig": "^1.2.1", - "libnpmhook": "^5.0.3", - "libnpmorg": "^1.0.1", - "libnpmpublish": "^1.1.2", - "libnpmsearch": "^2.0.2", - "libnpmteam": "^1.0.2", - "lock-verify": "^2.0.2", - "npm-lifecycle": "^3.0.0", - "npm-logical-tree": "^1.2.1", - "npm-package-arg": "^6.1.0", - "npm-profile": "^4.0.2", - "npm-registry-fetch": "^4.0.0", - "npmlog": "^4.1.2", - "pacote": "^9.5.3", - "read-package-json": "^2.0.13", - "stringify-package": "^1.0.0" - } - }, - "libnpmaccess": { - "version": "3.0.2", - "bundled": true, - "requires": { - "aproba": "^2.0.0", - "get-stream": "^4.0.0", - "npm-package-arg": "^6.1.0", - "npm-registry-fetch": "^4.0.0" - } - }, - "libnpmconfig": { - "version": "1.2.1", - "bundled": true, - "requires": { - "figgy-pudding": "^3.5.1", - "find-up": "^3.0.0", - "ini": "^1.3.5" - }, - "dependencies": { - "find-up": { - "version": "3.0.0", - "bundled": true, - "requires": { - "locate-path": "^3.0.0" - } - }, - "locate-path": { - "version": "3.0.0", - "bundled": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "p-limit": { - "version": "2.2.0", - "bundled": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "bundled": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "p-try": { - "version": "2.2.0", - "bundled": true - } - } - }, - "libnpmhook": { - "version": "5.0.3", - "bundled": true, - "requires": { - "aproba": "^2.0.0", - "figgy-pudding": "^3.4.1", - "get-stream": "^4.0.0", - "npm-registry-fetch": "^4.0.0" - } - }, - "libnpmorg": { - "version": "1.0.1", - "bundled": true, - "requires": { - "aproba": "^2.0.0", - "figgy-pudding": "^3.4.1", - "get-stream": "^4.0.0", - "npm-registry-fetch": "^4.0.0" - } - }, - "libnpmpublish": { - "version": "1.1.2", - "bundled": true, - "requires": { - "aproba": "^2.0.0", - "figgy-pudding": "^3.5.1", - "get-stream": "^4.0.0", - "lodash.clonedeep": "^4.5.0", - "normalize-package-data": "^2.4.0", - "npm-package-arg": "^6.1.0", - "npm-registry-fetch": "^4.0.0", - "semver": "^5.5.1", - "ssri": "^6.0.1" - } - }, - "libnpmsearch": { - "version": "2.0.2", - "bundled": true, - "requires": { - "figgy-pudding": "^3.5.1", - "get-stream": "^4.0.0", - "npm-registry-fetch": "^4.0.0" - } - }, - "libnpmteam": { - "version": "1.0.2", - "bundled": true, - "requires": { - "aproba": "^2.0.0", - "figgy-pudding": "^3.4.1", - "get-stream": "^4.0.0", - "npm-registry-fetch": "^4.0.0" - } - }, - "libnpx": { - "version": "10.2.2", - "bundled": true, - "requires": { - "dotenv": "^5.0.1", - "npm-package-arg": "^6.0.0", - "rimraf": "^2.6.2", - "safe-buffer": "^5.1.0", - "update-notifier": "^2.3.0", - "which": "^1.3.0", - "y18n": "^4.0.0", - "yargs": "^11.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "bundled": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "lock-verify": { - "version": "2.1.0", - "bundled": true, - "requires": { - "npm-package-arg": "^6.1.0", - "semver": "^5.4.1" - } - }, - "lockfile": { - "version": "1.0.4", - "bundled": true, - "requires": { - "signal-exit": "^3.0.2" - } - }, - "lodash._baseindexof": { - "version": "3.1.0", - "bundled": true - }, - "lodash._baseuniq": { - "version": "4.6.0", - "bundled": true, - "requires": { - "lodash._createset": "~4.0.0", - "lodash._root": "~3.0.0" - } - }, - "lodash._bindcallback": { - "version": "3.0.1", - "bundled": true - }, - "lodash._cacheindexof": { - "version": "3.0.2", - "bundled": true - }, - "lodash._createcache": { - "version": "3.1.2", - "bundled": true, - "requires": { - "lodash._getnative": "^3.0.0" - } - }, - "lodash._createset": { - "version": "4.0.3", - "bundled": true - }, - "lodash._getnative": { - "version": "3.9.1", - "bundled": true - }, - "lodash._root": { - "version": "3.0.1", - "bundled": true - }, - "lodash.clonedeep": { - "version": "4.5.0", - "bundled": true - }, - "lodash.restparam": { - "version": "3.6.1", - "bundled": true - }, - "lodash.union": { - "version": "4.6.0", - "bundled": true - }, - "lodash.uniq": { - "version": "4.5.0", - "bundled": true - }, - "lodash.without": { - "version": "4.4.0", - "bundled": true - }, - "lowercase-keys": { - "version": "1.0.1", - "bundled": true - }, - "lru-cache": { - "version": "5.1.1", - "bundled": true, - "requires": { - "yallist": "^3.0.2" - } - }, - "make-dir": { - "version": "1.3.0", - "bundled": true, - "requires": { - "pify": "^3.0.0" - } - }, - "make-fetch-happen": { - "version": "5.0.2", - "bundled": true, - "requires": { - "agentkeepalive": "^3.4.1", - "cacache": "^12.0.0", - "http-cache-semantics": "^3.8.1", - "http-proxy-agent": "^2.1.0", - "https-proxy-agent": "^2.2.3", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "node-fetch-npm": "^2.0.2", - "promise-retry": "^1.1.1", - "socks-proxy-agent": "^4.0.0", - "ssri": "^6.0.0" - } - }, - "map-age-cleaner": { - "version": "0.1.3", - "bundled": true, - "requires": { - "p-defer": "^1.0.0" - } - }, - "meant": { - "version": "1.0.1", - "bundled": true - }, - "mem": { - "version": "4.3.0", - "bundled": true, - "requires": { - "map-age-cleaner": "^0.1.1", - "mimic-fn": "^2.0.0", - "p-is-promise": "^2.0.0" - }, - "dependencies": { - "mimic-fn": { - "version": "2.1.0", - "bundled": true - } - } - }, - "mime-db": { - "version": "1.35.0", - "bundled": true - }, - "mime-types": { - "version": "2.1.19", - "bundled": true, - "requires": { - "mime-db": "~1.35.0" - } - }, - "minimatch": { - "version": "3.0.4", - "bundled": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minizlib": { - "version": "1.3.3", - "bundled": true, - "requires": { - "minipass": "^2.9.0" - }, - "dependencies": { - "minipass": { - "version": "2.9.0", - "bundled": true, - "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } - } - } - }, - "mississippi": { - "version": "3.0.0", - "bundled": true, - "requires": { - "concat-stream": "^1.5.0", - "duplexify": "^3.4.2", - "end-of-stream": "^1.1.0", - "flush-write-stream": "^1.0.0", - "from2": "^2.1.0", - "parallel-transform": "^1.1.0", - "pump": "^3.0.0", - "pumpify": "^1.3.3", - "stream-each": "^1.1.0", - "through2": "^2.0.0" - } - }, - "mkdirp": { - "version": "0.5.5", - "bundled": true, - "requires": { - "minimist": "^1.2.5" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "bundled": true - } - } - }, - "move-concurrently": { - "version": "1.0.1", - "bundled": true, - "requires": { - "aproba": "^1.1.1", - "copy-concurrently": "^1.0.0", - "fs-write-stream-atomic": "^1.0.8", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.3" - }, - "dependencies": { - "aproba": { - "version": "1.2.0", - "bundled": true - } - } - }, - "ms": { - "version": "2.1.1", - "bundled": true - }, - "mute-stream": { - "version": "0.0.7", - "bundled": true - }, - "nice-try": { - "version": "1.0.5", - "bundled": true - }, - "node-fetch-npm": { - "version": "2.0.2", - "bundled": true, - "requires": { - "encoding": "^0.1.11", - "json-parse-better-errors": "^1.0.0", - "safe-buffer": "^5.1.1" - } - }, - "node-gyp": { - "version": "5.1.0", - "bundled": true, - "requires": { - "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.2", - "mkdirp": "^0.5.1", - "nopt": "^4.0.1", - "npmlog": "^4.1.2", - "request": "^2.88.0", - "rimraf": "^2.6.3", - "semver": "^5.7.1", - "tar": "^4.4.12", - "which": "^1.3.1" - } - }, - "nopt": { - "version": "4.0.3", - "bundled": true, - "requires": { - "abbrev": "1", - "osenv": "^0.1.4" - } - }, - "normalize-package-data": { - "version": "2.5.0", - "bundled": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "resolve": { - "version": "1.10.0", - "bundled": true, - "requires": { - "path-parse": "^1.0.6" - } - } - } - }, - "npm-audit-report": { - "version": "1.3.2", - "bundled": true, - "requires": { - "cli-table3": "^0.5.0", - "console-control-strings": "^1.1.0" - } - }, - "npm-bundled": { - "version": "1.1.1", - "bundled": true, - "requires": { - "npm-normalize-package-bin": "^1.0.1" - } - }, - "npm-cache-filename": { - "version": "1.0.2", - "bundled": true - }, - "npm-install-checks": { - "version": "3.0.2", - "bundled": true, - "requires": { - "semver": "^2.3.0 || 3.x || 4 || 5" - } - }, - "npm-lifecycle": { - "version": "3.1.4", - "bundled": true, - "requires": { - "byline": "^5.0.0", - "graceful-fs": "^4.1.15", - "node-gyp": "^5.0.2", - "resolve-from": "^4.0.0", - "slide": "^1.1.6", - "uid-number": "0.0.6", - "umask": "^1.1.0", - "which": "^1.3.1" - } - }, - "npm-logical-tree": { - "version": "1.2.1", - "bundled": true - }, - "npm-normalize-package-bin": { - "version": "1.0.1", - "bundled": true - }, - "npm-package-arg": { - "version": "6.1.1", - "bundled": true, - "requires": { - "hosted-git-info": "^2.7.1", - "osenv": "^0.1.5", - "semver": "^5.6.0", - "validate-npm-package-name": "^3.0.0" - } - }, - "npm-packlist": { - "version": "1.4.8", - "bundled": true, - "requires": { - "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1", - "npm-normalize-package-bin": "^1.0.1" - } - }, - "npm-pick-manifest": { - "version": "3.0.2", - "bundled": true, - "requires": { - "figgy-pudding": "^3.5.1", - "npm-package-arg": "^6.0.0", - "semver": "^5.4.1" - } - }, - "npm-profile": { - "version": "4.0.4", - "bundled": true, - "requires": { - "aproba": "^1.1.2 || 2", - "figgy-pudding": "^3.4.1", - "npm-registry-fetch": "^4.0.0" - } - }, - "npm-registry-fetch": { - "version": "4.0.5", - "bundled": true, - "requires": { - "JSONStream": "^1.3.4", - "bluebird": "^3.5.1", - "figgy-pudding": "^3.4.1", - "lru-cache": "^5.1.1", - "make-fetch-happen": "^5.0.0", - "npm-package-arg": "^6.1.0", - "safe-buffer": "^5.2.0" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.1", - "bundled": true - } - } - }, - "npm-run-path": { - "version": "2.0.2", - "bundled": true, - "requires": { - "path-key": "^2.0.0" - } - }, - "npm-user-validate": { - "version": "1.0.0", - "bundled": true - }, - "npmlog": { - "version": "4.1.2", - "bundled": true, - "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "bundled": true - }, - "oauth-sign": { - "version": "0.9.0", - "bundled": true - }, - "object-assign": { - "version": "4.1.1", - "bundled": true - }, - "object-keys": { - "version": "1.0.12", - "bundled": true - }, - "object.getownpropertydescriptors": { - "version": "2.0.3", - "bundled": true, - "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.5.1" - } - }, - "once": { - "version": "1.4.0", - "bundled": true, - "requires": { - "wrappy": "1" - } - }, - "opener": { - "version": "1.5.1", - "bundled": true - }, - "os-homedir": { - "version": "1.0.2", - "bundled": true - }, - "os-locale": { - "version": "3.1.0", - "bundled": true, - "requires": { - "execa": "^1.0.0", - "lcid": "^2.0.0", - "mem": "^4.0.0" - }, - "dependencies": { - "cross-spawn": { - "version": "6.0.5", - "bundled": true, - "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "execa": { - "version": "1.0.0", - "bundled": true, - "requires": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - } - } - } - }, - "os-tmpdir": { - "version": "1.0.2", - "bundled": true - }, - "osenv": { - "version": "0.1.5", - "bundled": true, - "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" - } - }, - "p-defer": { - "version": "1.0.0", - "bundled": true - }, - "p-finally": { - "version": "1.0.0", - "bundled": true - }, - "p-is-promise": { - "version": "2.1.0", - "bundled": true - }, - "p-limit": { - "version": "1.2.0", - "bundled": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "bundled": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "bundled": true - }, - "package-json": { - "version": "4.0.1", - "bundled": true, - "requires": { - "got": "^6.7.1", - "registry-auth-token": "^3.0.1", - "registry-url": "^3.0.3", - "semver": "^5.1.0" - } - }, - "pacote": { - "version": "9.5.12", - "bundled": true, - "requires": { - "bluebird": "^3.5.3", - "cacache": "^12.0.2", - "chownr": "^1.1.2", - "figgy-pudding": "^3.5.1", - "get-stream": "^4.1.0", - "glob": "^7.1.3", - "infer-owner": "^1.0.4", - "lru-cache": "^5.1.1", - "make-fetch-happen": "^5.0.0", - "minimatch": "^3.0.4", - "minipass": "^2.3.5", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "normalize-package-data": "^2.4.0", - "npm-normalize-package-bin": "^1.0.0", - "npm-package-arg": "^6.1.0", - "npm-packlist": "^1.1.12", - "npm-pick-manifest": "^3.0.0", - "npm-registry-fetch": "^4.0.0", - "osenv": "^0.1.5", - "promise-inflight": "^1.0.1", - "promise-retry": "^1.1.1", - "protoduck": "^5.0.1", - "rimraf": "^2.6.2", - "safe-buffer": "^5.1.2", - "semver": "^5.6.0", - "ssri": "^6.0.1", - "tar": "^4.4.10", - "unique-filename": "^1.1.1", - "which": "^1.3.1" - }, - "dependencies": { - "minipass": { - "version": "2.9.0", - "bundled": true, - "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } - } - } - }, - "parallel-transform": { - "version": "1.1.0", - "bundled": true, - "requires": { - "cyclist": "~0.2.2", - "inherits": "^2.0.3", - "readable-stream": "^2.1.5" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "path-exists": { - "version": "3.0.0", - "bundled": true - }, - "path-is-absolute": { - "version": "1.0.1", - "bundled": true - }, - "path-is-inside": { - "version": "1.0.2", - "bundled": true - }, - "path-key": { - "version": "2.0.1", - "bundled": true - }, - "path-parse": { - "version": "1.0.6", - "bundled": true - }, - "performance-now": { - "version": "2.1.0", - "bundled": true - }, - "pify": { - "version": "3.0.0", - "bundled": true - }, - "prepend-http": { - "version": "1.0.4", - "bundled": true - }, - "process-nextick-args": { - "version": "2.0.0", - "bundled": true - }, - "promise-inflight": { - "version": "1.0.1", - "bundled": true - }, - "promise-retry": { - "version": "1.1.1", - "bundled": true, - "requires": { - "err-code": "^1.0.0", - "retry": "^0.10.0" - }, - "dependencies": { - "retry": { - "version": "0.10.1", - "bundled": true - } - } - }, - "promzard": { - "version": "0.3.0", - "bundled": true, - "requires": { - "read": "1" - } - }, - "proto-list": { - "version": "1.2.4", - "bundled": true - }, - "protoduck": { - "version": "5.0.1", - "bundled": true, - "requires": { - "genfun": "^5.0.0" - } - }, - "prr": { - "version": "1.0.1", - "bundled": true - }, - "pseudomap": { - "version": "1.0.2", - "bundled": true - }, - "psl": { - "version": "1.1.29", - "bundled": true - }, - "pump": { - "version": "3.0.0", - "bundled": true, - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "pumpify": { - "version": "1.5.1", - "bundled": true, - "requires": { - "duplexify": "^3.6.0", - "inherits": "^2.0.3", - "pump": "^2.0.0" - }, - "dependencies": { - "pump": { - "version": "2.0.1", - "bundled": true, - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - } - } - }, - "punycode": { - "version": "1.4.1", - "bundled": true - }, - "qrcode-terminal": { - "version": "0.12.0", - "bundled": true - }, - "qs": { - "version": "6.5.2", - "bundled": true - }, - "query-string": { - "version": "6.8.2", - "bundled": true, - "requires": { - "decode-uri-component": "^0.2.0", - "split-on-first": "^1.0.0", - "strict-uri-encode": "^2.0.0" - } - }, - "qw": { - "version": "1.0.1", - "bundled": true - }, - "rc": { - "version": "1.2.8", - "bundled": true, - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "bundled": true - } - } - }, - "read": { - "version": "1.0.7", - "bundled": true, - "requires": { - "mute-stream": "~0.0.4" - } - }, - "read-cmd-shim": { - "version": "1.0.5", - "bundled": true, - "requires": { - "graceful-fs": "^4.1.2" - } - }, - "read-installed": { - "version": "4.0.3", - "bundled": true, - "requires": { - "debuglog": "^1.0.1", - "graceful-fs": "^4.1.2", - "read-package-json": "^2.0.0", - "readdir-scoped-modules": "^1.0.0", - "semver": "2 || 3 || 4 || 5", - "slide": "~1.1.3", - "util-extend": "^1.0.1" - } - }, - "read-package-json": { - "version": "2.1.1", - "bundled": true, - "requires": { - "glob": "^7.1.1", - "graceful-fs": "^4.1.2", - "json-parse-better-errors": "^1.0.1", - "normalize-package-data": "^2.0.0", - "npm-normalize-package-bin": "^1.0.0" - } - }, - "read-package-tree": { - "version": "5.3.1", - "bundled": true, - "requires": { - "read-package-json": "^2.0.0", - "readdir-scoped-modules": "^1.0.0", - "util-promisify": "^2.1.0" - } - }, - "readable-stream": { - "version": "3.6.0", - "bundled": true, - "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - } - }, - "readdir-scoped-modules": { - "version": "1.1.0", - "bundled": true, - "requires": { - "debuglog": "^1.0.1", - "dezalgo": "^1.0.0", - "graceful-fs": "^4.1.2", - "once": "^1.3.0" - } - }, - "registry-auth-token": { - "version": "3.4.0", - "bundled": true, - "requires": { - "rc": "^1.1.6", - "safe-buffer": "^5.0.1" - } - }, - "registry-url": { - "version": "3.1.0", - "bundled": true, - "requires": { - "rc": "^1.0.1" - } - }, - "request": { - "version": "2.88.0", - "bundled": true, - "requires": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.0", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - } - }, - "require-directory": { - "version": "2.1.1", - "bundled": true - }, - "require-main-filename": { - "version": "1.0.1", - "bundled": true - }, - "resolve-from": { - "version": "4.0.0", - "bundled": true - }, - "retry": { - "version": "0.12.0", - "bundled": true - }, - "rimraf": { - "version": "2.7.1", - "bundled": true, - "requires": { - "glob": "^7.1.3" - } - }, - "run-queue": { - "version": "1.0.3", - "bundled": true, - "requires": { - "aproba": "^1.1.1" - }, - "dependencies": { - "aproba": { - "version": "1.2.0", - "bundled": true - } - } - }, - "safe-buffer": { - "version": "5.1.2", - "bundled": true - }, - "safer-buffer": { - "version": "2.1.2", - "bundled": true - }, - "semver": { - "version": "5.7.1", - "bundled": true - }, - "semver-diff": { - "version": "2.1.0", - "bundled": true, - "requires": { - "semver": "^5.0.3" - } - }, - "set-blocking": { - "version": "2.0.0", - "bundled": true - }, - "sha": { - "version": "3.0.0", - "bundled": true, - "requires": { - "graceful-fs": "^4.1.2" - } - }, - "shebang-command": { - "version": "1.2.0", - "bundled": true, - "requires": { - "shebang-regex": "^1.0.0" - } - }, - "shebang-regex": { - "version": "1.0.0", - "bundled": true - }, - "signal-exit": { - "version": "3.0.2", - "bundled": true - }, - "slide": { - "version": "1.1.6", - "bundled": true - }, - "smart-buffer": { - "version": "4.1.0", - "bundled": true - }, - "socks": { - "version": "2.3.3", - "bundled": true, - "requires": { - "ip": "1.1.5", - "smart-buffer": "^4.1.0" - } - }, - "socks-proxy-agent": { - "version": "4.0.2", - "bundled": true, - "requires": { - "agent-base": "~4.2.1", - "socks": "~2.3.2" - }, - "dependencies": { - "agent-base": { - "version": "4.2.1", - "bundled": true, - "requires": { - "es6-promisify": "^5.0.0" - } - } - } - }, - "sorted-object": { - "version": "2.0.1", - "bundled": true - }, - "sorted-union-stream": { - "version": "2.1.3", - "bundled": true, - "requires": { - "from2": "^1.3.0", - "stream-iterate": "^1.1.0" - }, - "dependencies": { - "from2": { - "version": "1.3.0", - "bundled": true, - "requires": { - "inherits": "~2.0.1", - "readable-stream": "~1.1.10" - } - }, - "isarray": { - "version": "0.0.1", - "bundled": true - }, - "readable-stream": { - "version": "1.1.14", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - }, - "string_decoder": { - "version": "0.10.31", - "bundled": true - } - } - }, - "spdx-correct": { - "version": "3.0.0", - "bundled": true, - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.1.0", - "bundled": true - }, - "spdx-expression-parse": { - "version": "3.0.0", - "bundled": true, - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.5", - "bundled": true - }, - "split-on-first": { - "version": "1.1.0", - "bundled": true - }, - "sshpk": { - "version": "1.14.2", - "bundled": true, - "requires": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - } - }, - "ssri": { - "version": "6.0.1", - "bundled": true, - "requires": { - "figgy-pudding": "^3.5.1" - } - }, - "stream-each": { - "version": "1.2.2", - "bundled": true, - "requires": { - "end-of-stream": "^1.1.0", - "stream-shift": "^1.0.0" - } - }, - "stream-iterate": { - "version": "1.2.0", - "bundled": true, - "requires": { - "readable-stream": "^2.1.5", - "stream-shift": "^1.0.0" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "stream-shift": { - "version": "1.0.0", - "bundled": true - }, - "strict-uri-encode": { - "version": "2.0.0", - "bundled": true - }, - "string-width": { - "version": "2.1.1", - "bundled": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "bundled": true - }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "bundled": true - }, - "strip-ansi": { - "version": "4.0.0", - "bundled": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } - } - }, - "string_decoder": { - "version": "1.3.0", - "bundled": true, - "requires": { - "safe-buffer": "~5.2.0" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.0", - "bundled": true - } - } - }, - "stringify-package": { - "version": "1.0.1", - "bundled": true - }, - "strip-ansi": { - "version": "3.0.1", - "bundled": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "strip-eof": { - "version": "1.0.0", - "bundled": true - }, - "strip-json-comments": { - "version": "2.0.1", - "bundled": true - }, - "supports-color": { - "version": "5.4.0", - "bundled": true, - "requires": { - "has-flag": "^3.0.0" - } - }, - "tar": { - "version": "4.4.13", - "bundled": true, - "requires": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.8.6", - "minizlib": "^1.2.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.3" - }, - "dependencies": { - "minipass": { - "version": "2.9.0", - "bundled": true, - "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } - } - } - }, - "term-size": { - "version": "1.2.0", - "bundled": true, - "requires": { - "execa": "^0.7.0" - } - }, - "text-table": { - "version": "0.2.0", - "bundled": true - }, - "through": { - "version": "2.3.8", - "bundled": true - }, - "through2": { - "version": "2.0.3", - "bundled": true, - "requires": { - "readable-stream": "^2.1.5", - "xtend": "~4.0.1" - }, - "dependencies": { - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "timed-out": { - "version": "4.0.1", - "bundled": true - }, - "tiny-relative-date": { - "version": "1.3.0", - "bundled": true - }, - "tough-cookie": { - "version": "2.4.3", - "bundled": true, - "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - } - }, - "tunnel-agent": { - "version": "0.6.0", - "bundled": true, - "requires": { - "safe-buffer": "^5.0.1" - } - }, - "tweetnacl": { - "version": "0.14.5", - "bundled": true, - "optional": true - }, - "typedarray": { - "version": "0.0.6", - "bundled": true - }, - "uid-number": { - "version": "0.0.6", - "bundled": true - }, - "umask": { - "version": "1.1.0", - "bundled": true - }, - "unique-filename": { - "version": "1.1.1", - "bundled": true, - "requires": { - "unique-slug": "^2.0.0" - } - }, - "unique-slug": { - "version": "2.0.0", - "bundled": true, - "requires": { - "imurmurhash": "^0.1.4" - } - }, - "unique-string": { - "version": "1.0.0", - "bundled": true, - "requires": { - "crypto-random-string": "^1.0.0" - } - }, - "unpipe": { - "version": "1.0.0", - "bundled": true - }, - "unzip-response": { - "version": "2.0.1", - "bundled": true - }, - "update-notifier": { - "version": "2.5.0", - "bundled": true, - "requires": { - "boxen": "^1.2.1", - "chalk": "^2.0.1", - "configstore": "^3.0.0", - "import-lazy": "^2.1.0", - "is-ci": "^1.0.10", - "is-installed-globally": "^0.1.0", - "is-npm": "^1.0.0", - "latest-version": "^3.0.0", - "semver-diff": "^2.0.0", - "xdg-basedir": "^3.0.0" - } - }, - "url-parse-lax": { - "version": "1.0.0", - "bundled": true, - "requires": { - "prepend-http": "^1.0.1" - } - }, - "util-deprecate": { - "version": "1.0.2", - "bundled": true - }, - "util-extend": { - "version": "1.0.3", - "bundled": true - }, - "util-promisify": { - "version": "2.1.0", - "bundled": true, - "requires": { - "object.getownpropertydescriptors": "^2.0.3" - } - }, - "uuid": { - "version": "3.3.3", - "bundled": true - }, - "validate-npm-package-license": { - "version": "3.0.4", - "bundled": true, - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "validate-npm-package-name": { - "version": "3.0.0", - "bundled": true, - "requires": { - "builtins": "^1.0.3" - } - }, - "verror": { - "version": "1.10.0", - "bundled": true, - "requires": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "wcwidth": { - "version": "1.0.1", - "bundled": true, - "requires": { - "defaults": "^1.0.3" - } - }, - "which": { - "version": "1.3.1", - "bundled": true, - "requires": { - "isexe": "^2.0.0" - } - }, - "which-module": { - "version": "2.0.0", - "bundled": true - }, - "wide-align": { - "version": "1.1.2", - "bundled": true, - "requires": { - "string-width": "^1.0.2" - }, - "dependencies": { - "string-width": { - "version": "1.0.2", - "bundled": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - } - } - }, - "widest-line": { - "version": "2.0.1", - "bundled": true, - "requires": { - "string-width": "^2.1.1" - } - }, - "worker-farm": { - "version": "1.7.0", - "bundled": true, - "requires": { - "errno": "~0.1.7" - } - }, - "wrap-ansi": { - "version": "2.1.0", - "bundled": true, - "requires": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "dependencies": { - "string-width": { - "version": "1.0.2", - "bundled": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - } - } - }, - "wrappy": { - "version": "1.0.2", - "bundled": true - }, - "write-file-atomic": { - "version": "2.4.3", - "bundled": true, - "requires": { - "graceful-fs": "^4.1.11", - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.2" - } - }, - "xdg-basedir": { - "version": "3.0.0", - "bundled": true - }, - "xtend": { - "version": "4.0.1", - "bundled": true - }, - "y18n": { - "version": "4.0.0", - "bundled": true - }, - "yallist": { - "version": "3.0.3", - "bundled": true - }, - "yargs": { - "version": "11.1.1", - "bundled": true, - "requires": { - "cliui": "^4.0.0", - "decamelize": "^1.1.1", - "find-up": "^2.1.0", - "get-caller-file": "^1.0.1", - "os-locale": "^3.1.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^9.0.2" - }, - "dependencies": { - "y18n": { - "version": "3.2.1", - "bundled": true - } - } - }, - "yargs-parser": { - "version": "9.0.2", - "bundled": true, - "requires": { - "camelcase": "^4.1.0" - } - } - } - } - } -} diff --git a/website/themes/reveal-hugo/package.json b/website/themes/reveal-hugo/package.json deleted file mode 100644 index 45b5961..0000000 --- a/website/themes/reveal-hugo/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "scripts": { - "start": "hugo server -s exampleSite" - }, - "dependencies": { - "npm": "^6.14.6" - } -} diff --git a/website/themes/reveal-hugo/static/reveal-hugo/plugin/notes/notes.html b/website/themes/reveal-hugo/static/reveal-hugo/plugin/notes/notes.html deleted file mode 100644 index 4c5b799..0000000 --- a/website/themes/reveal-hugo/static/reveal-hugo/plugin/notes/notes.html +++ /dev/null @@ -1,759 +0,0 @@ -<!doctype html> -<html lang="en"> - <head> - <meta charset="utf-8"> - - <title>reveal.js - Slide Notes</title> - - <style> - body { - font-family: Helvetica; - font-size: 18px; - } - - #current-slide, - #upcoming-slide, - #speaker-controls { - padding: 6px; - box-sizing: border-box; - -moz-box-sizing: border-box; - } - - #current-slide iframe, - #upcoming-slide iframe { - width: 100%; - height: 100%; - border: 1px solid #ddd; - } - - #current-slide .label, - #upcoming-slide .label { - position: absolute; - top: 10px; - left: 10px; - z-index: 2; - } - - .overlay-element { - height: 34px; - line-height: 34px; - padding: 0 10px; - text-shadow: none; - background: rgba( 220, 220, 220, 0.8 ); - color: #222; - font-size: 14px; - } - - .overlay-element.interactive:hover { - background: rgba( 220, 220, 220, 1 ); - } - - #current-slide { - position: absolute; - width: 60%; - height: 100%; - top: 0; - left: 0; - padding-right: 0; - } - - #upcoming-slide { - position: absolute; - width: 40%; - height: 40%; - right: 0; - top: 0; - } - - /* Speaker controls */ - #speaker-controls { - position: absolute; - top: 40%; - right: 0; - width: 40%; - height: 60%; - overflow: auto; - font-size: 18px; - } - - .speaker-controls-time.hidden, - .speaker-controls-notes.hidden { - display: none; - } - - .speaker-controls-time .label, - .speaker-controls-pace .label, - .speaker-controls-notes .label { - text-transform: uppercase; - font-weight: normal; - font-size: 0.66em; - color: #666; - margin: 0; - } - - .speaker-controls-time, .speaker-controls-pace { - border-bottom: 1px solid rgba( 200, 200, 200, 0.5 ); - margin-bottom: 10px; - padding: 10px 16px; - padding-bottom: 20px; - cursor: pointer; - } - - .speaker-controls-time .reset-button { - opacity: 0; - float: right; - color: #666; - text-decoration: none; - } - .speaker-controls-time:hover .reset-button { - opacity: 1; - } - - .speaker-controls-time .timer, - .speaker-controls-time .clock { - width: 50%; - } - - .speaker-controls-time .timer, - .speaker-controls-time .clock, - .speaker-controls-time .pacing .hours-value, - .speaker-controls-time .pacing .minutes-value, - .speaker-controls-time .pacing .seconds-value { - font-size: 1.9em; - } - - .speaker-controls-time .timer { - float: left; - } - - .speaker-controls-time .clock { - float: right; - text-align: right; - } - - .speaker-controls-time span.mute { - opacity: 0.3; - } - - .speaker-controls-time .pacing-title { - margin-top: 5px; - } - - .speaker-controls-time .pacing.ahead { - color: blue; - } - - .speaker-controls-time .pacing.on-track { - color: green; - } - - .speaker-controls-time .pacing.behind { - color: red; - } - - .speaker-controls-notes { - padding: 10px 16px; - } - - .speaker-controls-notes .value { - margin-top: 5px; - line-height: 1.4; - font-size: 1.2em; - } - - /* Layout selector */ - #speaker-layout { - position: absolute; - top: 10px; - right: 10px; - color: #222; - z-index: 10; - } - #speaker-layout select { - position: absolute; - width: 100%; - height: 100%; - top: 0; - left: 0; - border: 0; - box-shadow: 0; - cursor: pointer; - opacity: 0; - - font-size: 1em; - background-color: transparent; - - -moz-appearance: none; - -webkit-appearance: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - } - - #speaker-layout select:focus { - outline: none; - box-shadow: none; - } - - .clear { - clear: both; - } - - /* Speaker layout: Wide */ - body[data-speaker-layout="wide"] #current-slide, - body[data-speaker-layout="wide"] #upcoming-slide { - width: 50%; - height: 45%; - padding: 6px; - } - - body[data-speaker-layout="wide"] #current-slide { - top: 0; - left: 0; - } - - body[data-speaker-layout="wide"] #upcoming-slide { - top: 0; - left: 50%; - } - - body[data-speaker-layout="wide"] #speaker-controls { - top: 45%; - left: 0; - width: 100%; - height: 50%; - font-size: 1.25em; - } - - /* Speaker layout: Tall */ - body[data-speaker-layout="tall"] #current-slide, - body[data-speaker-layout="tall"] #upcoming-slide { - width: 45%; - height: 50%; - padding: 6px; - } - - body[data-speaker-layout="tall"] #current-slide { - top: 0; - left: 0; - } - - body[data-speaker-layout="tall"] #upcoming-slide { - top: 50%; - left: 0; - } - - body[data-speaker-layout="tall"] #speaker-controls { - padding-top: 40px; - top: 0; - left: 45%; - width: 55%; - height: 100%; - font-size: 1.25em; - } - - /* Speaker layout: Notes only */ - body[data-speaker-layout="notes-only"] #current-slide, - body[data-speaker-layout="notes-only"] #upcoming-slide { - display: none; - } - - body[data-speaker-layout="notes-only"] #speaker-controls { - padding-top: 40px; - top: 0; - left: 0; - width: 100%; - height: 100%; - font-size: 1.25em; - } - - @media screen and (max-width: 1080px) { - body[data-speaker-layout="default"] #speaker-controls { - font-size: 16px; - } - } - - @media screen and (max-width: 900px) { - body[data-speaker-layout="default"] #speaker-controls { - font-size: 14px; - } - } - - @media screen and (max-width: 800px) { - body[data-speaker-layout="default"] #speaker-controls { - font-size: 12px; - } - } - - </style> - </head> - - <body> - - <div id="current-slide"></div> - <div id="upcoming-slide"><span class="overlay-element label">Upcoming</span></div> - <div id="speaker-controls"> - <div class="speaker-controls-time"> - <h4 class="label">Time <span class="reset-button">Click to Reset</span></h4> - <div class="clock"> - <span class="clock-value">0:00 AM</span> - </div> - <div class="timer"> - <span class="hours-value">00</span><span class="minutes-value">:00</span><span class="seconds-value">:00</span> - </div> - <div class="clear"></div> - - <h4 class="label pacing-title" style="display: none">Pacing – Time to finish current slide</h4> - <div class="pacing" style="display: none"> - <span class="hours-value">00</span><span class="minutes-value">:00</span><span class="seconds-value">:00</span> - </div> - </div> - - <div class="speaker-controls-notes hidden"> - <h4 class="label">Notes</h4> - <div class="value"></div> - </div> - </div> - <div id="speaker-layout" class="overlay-element interactive"> - <span class="speaker-layout-label"></span> - <select class="speaker-layout-dropdown"></select> - </div> - - <script src="../../plugin/markdown/marked.js"></script> - <script> - - (function() { - - var notes, - notesValue, - currentState, - currentSlide, - upcomingSlide, - layoutLabel, - layoutDropdown, - connected = false; - - var SPEAKER_LAYOUTS = { - 'default': 'Default', - 'wide': 'Wide', - 'tall': 'Tall', - 'notes-only': 'Notes only' - }; - - setupLayout(); - - window.addEventListener( 'message', function( event ) { - - var data = JSON.parse( event.data ); - - // The overview mode is only useful to the reveal.js instance - // where navigation occurs so we don't sync it - if( data.state ) delete data.state.overview; - - // Messages sent by the notes plugin inside of the main window - if( data && data.namespace === 'reveal-notes' ) { - if( data.type === 'connect' ) { - handleConnectMessage( data ); - } - else if( data.type === 'state' ) { - handleStateMessage( data ); - } - } - // Messages sent by the reveal.js inside of the current slide preview - else if( data && data.namespace === 'reveal' ) { - if( /ready/.test( data.eventName ) ) { - // Send a message back to notify that the handshake is complete - window.opener.postMessage( JSON.stringify({ namespace: 'reveal-notes', type: 'connected'} ), '*' ); - } - else if( /slidechanged|fragmentshown|fragmenthidden|paused|resumed/.test( data.eventName ) && currentState !== JSON.stringify( data.state ) ) { - - window.opener.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ]} ), '*' ); - - } - } - - } ); - - /** - * Called when the main window is trying to establish a - * connection. - */ - function handleConnectMessage( data ) { - - if( connected === false ) { - connected = true; - - setupIframes( data ); - setupKeyboard(); - setupNotes(); - setupTimer(); - } - - } - - /** - * Called when the main window sends an updated state. - */ - function handleStateMessage( data ) { - - // Store the most recently set state to avoid circular loops - // applying the same state - currentState = JSON.stringify( data.state ); - - // No need for updating the notes in case of fragment changes - if ( data.notes ) { - notes.classList.remove( 'hidden' ); - notesValue.style.whiteSpace = data.whitespace; - if( data.markdown ) { - notesValue.innerHTML = marked( data.notes ); - } - else { - notesValue.innerHTML = data.notes; - } - } - else { - notes.classList.add( 'hidden' ); - } - - // Update the note slides - currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' ); - upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' ); - upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'next' }), '*' ); - - } - - // Limit to max one state update per X ms - handleStateMessage = debounce( handleStateMessage, 200 ); - - /** - * Forward keyboard events to the current slide window. - * This enables keyboard events to work even if focus - * isn't set on the current slide iframe. - */ - function setupKeyboard() { - - document.addEventListener( 'keydown', function( event ) { - currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'triggerKey', args: [ event.keyCode ] }), '*' ); - } ); - - } - - /** - * Creates the preview iframes. - */ - function setupIframes( data ) { - - var params = [ - 'receiver', - 'progress=false', - 'history=false', - 'transition=none', - 'autoSlide=0', - 'backgroundTransition=none' - ].join( '&' ); - - var urlSeparator = /\?/.test(data.url) ? '&' : '?'; - var hash = '#/' + data.state.indexh + '/' + data.state.indexv; - var currentURL = data.url + urlSeparator + params + '&postMessageEvents=true' + hash; - var upcomingURL = data.url + urlSeparator + params + '&controls=false' + hash; - - currentSlide = document.createElement( 'iframe' ); - currentSlide.setAttribute( 'width', 1280 ); - currentSlide.setAttribute( 'height', 1024 ); - currentSlide.setAttribute( 'src', currentURL ); - document.querySelector( '#current-slide' ).appendChild( currentSlide ); - - upcomingSlide = document.createElement( 'iframe' ); - upcomingSlide.setAttribute( 'width', 640 ); - upcomingSlide.setAttribute( 'height', 512 ); - upcomingSlide.setAttribute( 'src', upcomingURL ); - document.querySelector( '#upcoming-slide' ).appendChild( upcomingSlide ); - - } - - /** - * Setup the notes UI. - */ - function setupNotes() { - - notes = document.querySelector( '.speaker-controls-notes' ); - notesValue = document.querySelector( '.speaker-controls-notes .value' ); - - } - - function getTimings() { - - var slides = Reveal.getSlides(); - var defaultTiming = Reveal.getConfig().defaultTiming; - if (defaultTiming == null) { - return null; - } - var timings = []; - for ( var i in slides ) { - var slide = slides[i]; - var timing = defaultTiming; - if( slide.hasAttribute( 'data-timing' )) { - var t = slide.getAttribute( 'data-timing' ); - timing = parseInt(t); - if( isNaN(timing) ) { - console.warn("Could not parse timing '" + t + "' of slide " + i + "; using default of " + defaultTiming); - timing = defaultTiming; - } - } - timings.push(timing); - } - return timings; - - } - - /** - * Return the number of seconds allocated for presenting - * all slides up to and including this one. - */ - function getTimeAllocated(timings) { - - var slides = Reveal.getSlides(); - var allocated = 0; - var currentSlide = Reveal.getSlidePastCount(); - for (var i in slides.slice(0, currentSlide + 1)) { - allocated += timings[i]; - } - return allocated; - - } - - /** - * Create the timer and clock and start updating them - * at an interval. - */ - function setupTimer() { - - var start = new Date(), - timeEl = document.querySelector( '.speaker-controls-time' ), - clockEl = timeEl.querySelector( '.clock-value' ), - hoursEl = timeEl.querySelector( '.hours-value' ), - minutesEl = timeEl.querySelector( '.minutes-value' ), - secondsEl = timeEl.querySelector( '.seconds-value' ), - pacingTitleEl = timeEl.querySelector( '.pacing-title' ), - pacingEl = timeEl.querySelector( '.pacing' ), - pacingHoursEl = pacingEl.querySelector( '.hours-value' ), - pacingMinutesEl = pacingEl.querySelector( '.minutes-value' ), - pacingSecondsEl = pacingEl.querySelector( '.seconds-value' ); - - var timings = getTimings(); - if (timings !== null) { - pacingTitleEl.style.removeProperty('display'); - pacingEl.style.removeProperty('display'); - } - - function _displayTime( hrEl, minEl, secEl, time) { - - var sign = Math.sign(time) == -1 ? "-" : ""; - time = Math.abs(Math.round(time / 1000)); - var seconds = time % 60; - var minutes = Math.floor( time / 60 ) % 60 ; - var hours = Math.floor( time / ( 60 * 60 )) ; - hrEl.innerHTML = sign + zeroPadInteger( hours ); - if (hours == 0) { - hrEl.classList.add( 'mute' ); - } - else { - hrEl.classList.remove( 'mute' ); - } - minEl.innerHTML = ':' + zeroPadInteger( minutes ); - if (hours == 0 && minutes == 0) { - minEl.classList.add( 'mute' ); - } - else { - minEl.classList.remove( 'mute' ); - } - secEl.innerHTML = ':' + zeroPadInteger( seconds ); - } - - function _updateTimer() { - - var diff, hours, minutes, seconds, - now = new Date(); - - diff = now.getTime() - start.getTime(); - - clockEl.innerHTML = now.toLocaleTimeString( 'en-US', { hour12: true, hour: '2-digit', minute:'2-digit' } ); - _displayTime( hoursEl, minutesEl, secondsEl, diff ); - if (timings !== null) { - _updatePacing(diff); - } - - } - - function _updatePacing(diff) { - - var slideEndTiming = getTimeAllocated(timings) * 1000; - var currentSlide = Reveal.getSlidePastCount(); - var currentSlideTiming = timings[currentSlide] * 1000; - var timeLeftCurrentSlide = slideEndTiming - diff; - if (timeLeftCurrentSlide < 0) { - pacingEl.className = 'pacing behind'; - } - else if (timeLeftCurrentSlide < currentSlideTiming) { - pacingEl.className = 'pacing on-track'; - } - else { - pacingEl.className = 'pacing ahead'; - } - _displayTime( pacingHoursEl, pacingMinutesEl, pacingSecondsEl, timeLeftCurrentSlide ); - - } - - // Update once directly - _updateTimer(); - - // Then update every second - setInterval( _updateTimer, 1000 ); - - function _resetTimer() { - - if (timings == null) { - start = new Date(); - } - else { - // Reset timer to beginning of current slide - var slideEndTiming = getTimeAllocated(timings) * 1000; - var currentSlide = Reveal.getSlidePastCount(); - var currentSlideTiming = timings[currentSlide] * 1000; - var previousSlidesTiming = slideEndTiming - currentSlideTiming; - var now = new Date(); - start = new Date(now.getTime() - previousSlidesTiming); - } - _updateTimer(); - - } - - timeEl.addEventListener( 'click', function() { - _resetTimer(); - return false; - } ); - - } - - /** - * Sets up the speaker view layout and layout selector. - */ - function setupLayout() { - - layoutDropdown = document.querySelector( '.speaker-layout-dropdown' ); - layoutLabel = document.querySelector( '.speaker-layout-label' ); - - // Render the list of available layouts - for( var id in SPEAKER_LAYOUTS ) { - var option = document.createElement( 'option' ); - option.setAttribute( 'value', id ); - option.textContent = SPEAKER_LAYOUTS[ id ]; - layoutDropdown.appendChild( option ); - } - - // Monitor the dropdown for changes - layoutDropdown.addEventListener( 'change', function( event ) { - - setLayout( layoutDropdown.value ); - - }, false ); - - // Restore any currently persisted layout - setLayout( getLayout() ); - - } - - /** - * Sets a new speaker view layout. The layout is persisted - * in local storage. - */ - function setLayout( value ) { - - var title = SPEAKER_LAYOUTS[ value ]; - - layoutLabel.innerHTML = 'Layout' + ( title ? ( ': ' + title ) : '' ); - layoutDropdown.value = value; - - document.body.setAttribute( 'data-speaker-layout', value ); - - // Persist locally - if( supportsLocalStorage() ) { - window.localStorage.setItem( 'reveal-speaker-layout', value ); - } - - } - - /** - * Returns the ID of the most recently set speaker layout - * or our default layout if none has been set. - */ - function getLayout() { - - if( supportsLocalStorage() ) { - var layout = window.localStorage.getItem( 'reveal-speaker-layout' ); - if( layout ) { - return layout; - } - } - - // Default to the first record in the layouts hash - for( var id in SPEAKER_LAYOUTS ) { - return id; - } - - } - - function supportsLocalStorage() { - - try { - localStorage.setItem('test', 'test'); - localStorage.removeItem('test'); - return true; - } - catch( e ) { - return false; - } - - } - - function zeroPadInteger( num ) { - - var str = '00' + parseInt( num ); - return str.substring( str.length - 2 ); - - } - - /** - * Limits the frequency at which a function can be called. - */ - function debounce( fn, ms ) { - - var lastTime = 0, - timeout; - - return function() { - - var args = arguments; - var context = this; - - clearTimeout( timeout ); - - var timeSinceLastCall = Date.now() - lastTime; - if( timeSinceLastCall > ms ) { - fn.apply( context, args ); - lastTime = Date.now(); - } - else { - timeout = setTimeout( function() { - fn.apply( context, args ); - lastTime = Date.now(); - }, ms - timeSinceLastCall ); - } - - } - - } - - })(); - - </script> - </body> -</html> diff --git a/website/themes/reveal-hugo/static/reveal-hugo/plugin/notes/notes.js b/website/themes/reveal-hugo/static/reveal-hugo/plugin/notes/notes.js deleted file mode 100644 index 80fb6e2..0000000 --- a/website/themes/reveal-hugo/static/reveal-hugo/plugin/notes/notes.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * Handles opening of and synchronization with the reveal.js - * notes window. - * - * Handshake process: - * 1. This window posts 'connect' to notes window - * - Includes URL of presentation to show - * 2. Notes window responds with 'connected' when it is available - * 3. This window proceeds to send the current presentation state - * to the notes window - */ -var RevealNotes = (function() { - - function openNotes( notesFilePath ) { - - if( !notesFilePath ) { - var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path - jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path - notesFilePath = jsFileLocation + 'notes.html'; - } - - var notesPopup = window.open( notesFilePath, 'reveal.js - Notes', 'width=1100,height=700' ); - - // Allow popup window access to Reveal API - notesPopup.Reveal = this.Reveal; - - /** - * Connect to the notes window through a postmessage handshake. - * Using postmessage enables us to work in situations where the - * origins differ, such as a presentation being opened from the - * file system. - */ - function connect() { - // Keep trying to connect until we get a 'connected' message back - var connectInterval = setInterval( function() { - notesPopup.postMessage( JSON.stringify( { - namespace: 'reveal-notes', - type: 'connect', - url: window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search, - state: Reveal.getState() - } ), '*' ); - }, 500 ); - - window.addEventListener( 'message', function( event ) { - var data = JSON.parse( event.data ); - if( data && data.namespace === 'reveal-notes' && data.type === 'connected' ) { - clearInterval( connectInterval ); - onConnected(); - } - } ); - } - - /** - * Posts the current slide data to the notes window - */ - function post( event ) { - - var slideElement = Reveal.getCurrentSlide(), - notesElement = slideElement.querySelector( 'aside.notes' ), - fragmentElement = slideElement.querySelector( '.current-fragment' ); - - var messageData = { - namespace: 'reveal-notes', - type: 'state', - notes: '', - markdown: false, - whitespace: 'normal', - state: Reveal.getState() - }; - - // Look for notes defined in a slide attribute - if( slideElement.hasAttribute( 'data-notes' ) ) { - messageData.notes = slideElement.getAttribute( 'data-notes' ); - messageData.whitespace = 'pre-wrap'; - } - - // Look for notes defined in a fragment - if( fragmentElement ) { - var fragmentNotes = fragmentElement.querySelector( 'aside.notes' ); - if( fragmentNotes ) { - notesElement = fragmentNotes; - } - else if( fragmentElement.hasAttribute( 'data-notes' ) ) { - messageData.notes = fragmentElement.getAttribute( 'data-notes' ); - messageData.whitespace = 'pre-wrap'; - - // In case there are slide notes - notesElement = null; - } - } - - // Look for notes defined in an aside element - if( notesElement ) { - messageData.notes = notesElement.innerHTML; - messageData.markdown = typeof notesElement.getAttribute( 'data-markdown' ) === 'string'; - } - - notesPopup.postMessage( JSON.stringify( messageData ), '*' ); - - } - - /** - * Called once we have established a connection to the notes - * window. - */ - function onConnected() { - - // Monitor events that trigger a change in state - Reveal.addEventListener( 'slidechanged', post ); - Reveal.addEventListener( 'fragmentshown', post ); - Reveal.addEventListener( 'fragmenthidden', post ); - Reveal.addEventListener( 'overviewhidden', post ); - Reveal.addEventListener( 'overviewshown', post ); - Reveal.addEventListener( 'paused', post ); - Reveal.addEventListener( 'resumed', post ); - - // Post the initial state - post(); - - } - - connect(); - - } - - if( !/receiver/i.test( window.location.search ) ) { - - // If the there's a 'notes' query set, open directly - if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) { - openNotes(); - } - - // Open the notes when the 's' key is hit - document.addEventListener( 'keydown', function( event ) { - // Disregard the event if the target is editable or a - // modifier is present - if ( document.querySelector( ':focus' ) !== null || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return; - - // Disregard the event if keyboard is disabled - if ( Reveal.getConfig().keyboard === false ) return; - - if( event.keyCode === 83 ) { - event.preventDefault(); - openNotes(); - } - }, false ); - - // Show our keyboard shortcut in the reveal.js help overlay - if( window.Reveal ) Reveal.registerKeyboardShortcut( 'S', 'Speaker notes view' ); - - } - - return { open: openNotes }; - -})(); diff --git a/website/themes/reveal-hugo/static/reveal-hugo/themes/robot-lung.css b/website/themes/reveal-hugo/static/reveal-hugo/themes/robot-lung.css deleted file mode 100644 index a080f8e..0000000 --- a/website/themes/reveal-hugo/static/reveal-hugo/themes/robot-lung.css +++ /dev/null @@ -1,333 +0,0 @@ -/** - - [ robot-lung ] - - A hot pink theme for Reveal.js with Roboto fonts and a colorful border. - By Josh Dzielak, https://dzello.com/, License MIT - - The bold border is optional and requires some HTML. To use it: - - 1. Add 4 divs to your HTML page: - <div class="line top"></div> - <div class="line bottom"></div> - <div class="line left"></div> - <div class="line right"></div> - - 2. Set { margin: 0.2 } in the Reveal.js initializer to make sure - your presentation content doesn't collide with the frame. - - Like the theme but don't like the colors? Don't fret. Just change - $borderColor and/or $linkColor below to something else and rebuild. - - Or if you don't want to rebuild the theme just override the .line background - property with some CSS: - - .line { - background: <new-color>; - } - -*/ -@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:300,700); -@import url(https://fonts.googleapis.com/css?family=Roboto:700); -section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 { - color: #141414; } - -.reveal .controls { - right: 50px; - bottom: 50px; } - -.line { - content: ''; - position: fixed; - background: #FF4081; - z-index: 105; } - .line.top { - left: 0; - top: 0; - width: 100%; - height: 30px; } - @media (max-width: 840px) { - .line.top { - height: 15px; } } - .line.bottom { - left: 0; - top: auto; - bottom: 0; - width: 100%; - height: 30px; } - @media (max-width: 840px) { - .line.bottom { - height: 15px; } } - .line.left { - left: 0; - top: 0; - width: 30px; - height: 200%; } - @media (max-width: 840px) { - .line.left { - width: 15px; } } - .line.right { - left: auto; - right: 0; - top: 0; - width: 30px; - height: 200%; } - @media (max-width: 840px) { - .line.right { - width: 15px; } } - -/********************************************* - * GLOBAL STYLES - *********************************************/ -body { - background: #fff; - background-color: #fff; } - -.reveal { - font-family: "Roboto Slab", serif; - font-size: 32px; - font-weight: normal; - color: #363636; } - -::selection { - color: #fff; - background: #ffc0d5; - text-shadow: none; } - -::-moz-selection { - color: #fff; - background: #ffc0d5; - text-shadow: none; } - -.reveal .slides > section, -.reveal .slides > section > section { - line-height: 1.3; - font-weight: inherit; } - -/********************************************* - * HEADERS - *********************************************/ -.reveal h1, -.reveal h2, -.reveal h3, -.reveal h4, -.reveal h5, -.reveal h6 { - margin: 0 0 20px 0; - color: #141414; - font-family: "Roboto", sans-serif; - font-weight: 700; - line-height: 1.2; - letter-spacing: normal; - text-transform: uppercase; - text-shadow: none; - word-wrap: break-word; } - -.reveal h1 { - font-size: 2.6em; } - -.reveal h2 { - font-size: 2.2em; } - -.reveal h3 { - font-size: 1.7em; } - -.reveal h4 { - font-size: 1.4em; } - -.reveal h1 { - text-shadow: none; } - -/********************************************* - * OTHER - *********************************************/ -.reveal p { - margin: 20px 0; - line-height: 1.3; } - -/* Ensure certain elements are never larger than the slide itself */ -.reveal img, -.reveal video, -.reveal iframe { - max-width: 95%; - max-height: 95%; } - -.reveal strong, -.reveal b { - font-weight: bold; } - -.reveal em { - font-style: italic; } - -.reveal ol, -.reveal dl, -.reveal ul { - display: inline-block; - text-align: left; - margin: 0 0 0 1em; } - -.reveal ol { - list-style-type: decimal; } - -.reveal ul { - list-style-type: disc; } - -.reveal ul ul { - list-style-type: square; } - -.reveal ul ul ul { - list-style-type: circle; } - -.reveal ul ul, -.reveal ul ol, -.reveal ol ol, -.reveal ol ul { - display: block; - margin-left: 40px; } - -.reveal dt { - font-weight: bold; } - -.reveal dd { - margin-left: 40px; } - -.reveal blockquote { - display: block; - position: relative; - width: 70%; - margin: 20px auto; - padding: 5px; - font-style: italic; - background: rgba(255, 255, 255, 0.05); - box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } - -.reveal blockquote p:first-child, -.reveal blockquote p:last-child { - display: inline-block; } - -.reveal q { - font-style: italic; } - -.reveal pre { - display: block; - position: relative; - width: 90%; - margin: 20px auto; - text-align: left; - font-size: 0.55em; - font-family: monospace; - line-height: 1.2em; - word-wrap: break-word; - box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } - -.reveal code { - font-family: monospace; - text-transform: none; } - -.reveal pre code { - display: block; - padding: 5px; - overflow: auto; - max-height: 400px; - word-wrap: normal; } - -.reveal table { - margin: auto; - border-collapse: collapse; - border-spacing: 0; } - -.reveal table th { - font-weight: bold; } - -.reveal table th, -.reveal table td { - text-align: left; - padding: 0.2em 0.5em 0.2em 0.5em; - border-bottom: 1px solid; } - -.reveal table th[align="center"], -.reveal table td[align="center"] { - text-align: center; } - -.reveal table th[align="right"], -.reveal table td[align="right"] { - text-align: right; } - -.reveal table tbody tr:last-child th, -.reveal table tbody tr:last-child td { - border-bottom: none; } - -.reveal sup { - vertical-align: super; } - -.reveal sub { - vertical-align: sub; } - -.reveal small { - display: inline-block; - font-size: 0.6em; - line-height: 1.2em; - vertical-align: top; } - -.reveal small * { - vertical-align: top; } - -/********************************************* - * LINKS - *********************************************/ -.reveal a { - color: #FF4081; - text-decoration: none; - -webkit-transition: color .15s ease; - -moz-transition: color .15s ease; - transition: color .15s ease; } - -.reveal a:hover { - color: #ff8db3; - text-shadow: none; - border: none; } - -.reveal .roll span:after { - color: #fff; - background: #f30053; } - -/********************************************* - * IMAGES - *********************************************/ -.reveal section img { - margin: 15px 0px; - background: rgba(255, 255, 255, 0.12); - border: 4px solid #363636; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } - -.reveal section img.plain { - border: 0; - box-shadow: none; } - -.reveal a img { - -webkit-transition: all .15s linear; - -moz-transition: all .15s linear; - transition: all .15s linear; } - -.reveal a:hover img { - background: rgba(255, 255, 255, 0.2); - border-color: #FF4081; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } - -/********************************************* - * NAVIGATION CONTROLS - *********************************************/ -.reveal .controls { - color: #FF4081; } - -/********************************************* - * PROGRESS BAR - *********************************************/ -.reveal .progress { - background: rgba(0, 0, 0, 0.2); - color: #FF4081; } - -.reveal .progress span { - -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); - -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); - transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } diff --git a/website/themes/reveal-hugo/static/reveal-hugo/themes/sunblind.css b/website/themes/reveal-hugo/static/reveal-hugo/themes/sunblind.css deleted file mode 100644 index 2a48fbd..0000000 --- a/website/themes/reveal-hugo/static/reveal-hugo/themes/sunblind.css +++ /dev/null @@ -1,333 +0,0 @@ -/** - - [ sunblind ] - - A blindingly sunny theme for Reveal.js with Lora + Leto fonts and a colorful border. - By Josh Dzielak, https://dzello.com/, License MIT - - The bold border is optional and requires some HTML. To use it: - - 1. Add 4 divs to your HTML page: - <div class="line top"></div> - <div class="line bottom"></div> - <div class="line left"></div> - <div class="line right"></div> - - 2. Set { margin: 0.2 } in the Reveal.js initializer to make sure - your presentation content doesn't collide with the frame. - - Like the theme but don't like the colors? Don't fret. Just change - $borderColor and/or $linkColor below to something else and rebuild. - - Or if you don't want to rebuild the theme just override the .line background - property with some CSS: - - .line { - background: <new-color>; - } - -*/ -@import url(https://fonts.googleapis.com/css?family=Lato:300,700); -@import url(https://fonts.googleapis.com/css?family=Lora:700); -section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 { - color: #141414; } - -.reveal .controls { - right: 50px; - bottom: 50px; } - -.line { - content: ''; - position: fixed; - background: #f6f195; - z-index: 105; } - .line.top { - left: 0; - top: 0; - width: 100%; - height: 30px; } - @media (max-width: 840px) { - .line.top { - height: 15px; } } - .line.bottom { - left: 0; - top: auto; - bottom: 0; - width: 100%; - height: 30px; } - @media (max-width: 840px) { - .line.bottom { - height: 15px; } } - .line.left { - left: 0; - top: 0; - width: 30px; - height: 200%; } - @media (max-width: 840px) { - .line.left { - width: 15px; } } - .line.right { - left: auto; - right: 0; - top: 0; - width: 30px; - height: 200%; } - @media (max-width: 840px) { - .line.right { - width: 15px; } } - -/********************************************* - * GLOBAL STYLES - *********************************************/ -body { - background: #fff; - background-color: #fff; } - -.reveal { - font-family: "Lato", serif; - font-size: 32px; - font-weight: normal; - color: #363636; } - -::selection { - color: #fff; - background: #ffc0d5; - text-shadow: none; } - -::-moz-selection { - color: #fff; - background: #ffc0d5; - text-shadow: none; } - -.reveal .slides > section, -.reveal .slides > section > section { - line-height: 1.3; - font-weight: inherit; } - -/********************************************* - * HEADERS - *********************************************/ -.reveal h1, -.reveal h2, -.reveal h3, -.reveal h4, -.reveal h5, -.reveal h6 { - margin: 0 0 20px 0; - color: #141414; - font-family: "Lora", sans-serif; - font-weight: 700; - line-height: 1.2; - letter-spacing: normal; - text-transform: uppercase; - text-shadow: none; - word-wrap: break-word; } - -.reveal h1 { - font-size: 2em; } - -.reveal h2 { - font-size: 1.8em; } - -.reveal h3 { - font-size: 1.4em; } - -.reveal h4 { - font-size: 1.2em; } - -.reveal h1 { - text-shadow: none; } - -/********************************************* - * OTHER - *********************************************/ -.reveal p { - margin: 20px 0; - line-height: 1.3; } - -/* Ensure certain elements are never larger than the slide itself */ -.reveal img, -.reveal video, -.reveal iframe { - max-width: 95%; - max-height: 95%; } - -.reveal strong, -.reveal b { - font-weight: bold; } - -.reveal em { - font-style: italic; } - -.reveal ol, -.reveal dl, -.reveal ul { - display: inline-block; - text-align: left; - margin: 0 0 0 1em; } - -.reveal ol { - list-style-type: decimal; } - -.reveal ul { - list-style-type: disc; } - -.reveal ul ul { - list-style-type: square; } - -.reveal ul ul ul { - list-style-type: circle; } - -.reveal ul ul, -.reveal ul ol, -.reveal ol ol, -.reveal ol ul { - display: block; - margin-left: 40px; } - -.reveal dt { - font-weight: bold; } - -.reveal dd { - margin-left: 40px; } - -.reveal blockquote { - display: block; - position: relative; - width: 70%; - margin: 20px auto; - padding: 5px; - font-style: italic; - background: rgba(255, 255, 255, 0.05); - box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); } - -.reveal blockquote p:first-child, -.reveal blockquote p:last-child { - display: inline-block; } - -.reveal q { - font-style: italic; } - -.reveal pre { - display: block; - position: relative; - width: 90%; - margin: 20px auto; - text-align: left; - font-size: 0.55em; - font-family: monospace; - line-height: 1.2em; - word-wrap: break-word; - box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); } - -.reveal code { - font-family: monospace; - text-transform: none; } - -.reveal pre code { - display: block; - padding: 5px; - overflow: auto; - max-height: 400px; - word-wrap: normal; } - -.reveal table { - margin: auto; - border-collapse: collapse; - border-spacing: 0; } - -.reveal table th { - font-weight: bold; } - -.reveal table th, -.reveal table td { - text-align: left; - padding: 0.2em 0.5em 0.2em 0.5em; - border-bottom: 1px solid; } - -.reveal table th[align="center"], -.reveal table td[align="center"] { - text-align: center; } - -.reveal table th[align="right"], -.reveal table td[align="right"] { - text-align: right; } - -.reveal table tbody tr:last-child th, -.reveal table tbody tr:last-child td { - border-bottom: none; } - -.reveal sup { - vertical-align: super; } - -.reveal sub { - vertical-align: sub; } - -.reveal small { - display: inline-block; - font-size: 0.6em; - line-height: 1.2em; - vertical-align: top; } - -.reveal small * { - vertical-align: top; } - -/********************************************* - * LINKS - *********************************************/ -.reveal a { - color: #FF4081; - text-decoration: none; - -webkit-transition: color .15s ease; - -moz-transition: color .15s ease; - transition: color .15s ease; } - -.reveal a:hover { - color: #ff8db3; - text-shadow: none; - border: none; } - -.reveal .roll span:after { - color: #fff; - background: #f30053; } - -/********************************************* - * IMAGES - *********************************************/ -.reveal section img { - margin: 15px 0px; - background: rgba(255, 255, 255, 0.12); - border: 4px solid #363636; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); } - -.reveal section img.plain { - border: 0; - box-shadow: none; } - -.reveal a img { - -webkit-transition: all .15s linear; - -moz-transition: all .15s linear; - transition: all .15s linear; } - -.reveal a:hover img { - background: rgba(255, 255, 255, 0.2); - border-color: #FF4081; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } - -/********************************************* - * NAVIGATION CONTROLS - *********************************************/ -.reveal .controls { - color: #FF4081; } - -/********************************************* - * PROGRESS BAR - *********************************************/ -.reveal .progress { - background: rgba(0, 0, 0, 0.2); - color: #FF4081; } - -.reveal .progress span { - -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); - -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); - transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } diff --git a/website/themes/reveal-hugo/theme.toml b/website/themes/reveal-hugo/theme.toml deleted file mode 100644 index 3a2b1b8..0000000 --- a/website/themes/reveal-hugo/theme.toml +++ /dev/null @@ -1,15 +0,0 @@ -name = "reveal-hugo" -license = "MIT" -licenselink = "https://github.com/dzello/reveal-hugo/blob/master/LICENSE" -homepage = "https://reveal-hugo.dzello.com/" -tags = ["presentation", "revealjs"] -features = ["presentation"] - -[author] -name = "Josh Dzielak" -homepage = "https://dzello.com/" - -[original] -name = "reveal.js" -homepage = "https://revealjs.com" -repo = "https://github.com/hakimel/reveal.js/"
\ No newline at end of file |
