Yeoman generator for Bespoke.js

npm install generator-bespoke
6 downloads in the last day
76 downloads in the last week
270 downloads in the last month

Build Status

Bespoke.js Generator

A generator for Yeoman that scaffolds a Bespoke.js presentation.

The boilerplate project includes a Grunt build system, a preview server with LiveReload, static asset compilation (Jade, Stylus and CoffeeScript), and a GitHub Pages deployment task.

Your generated presentation optionally includes the following Bespoke.js plugins:


Assuming you have Node.js, install generator-bespoke:

$ npm install -g generator-bespoke

Make a new directory and cd into it:

$ mkdir my-presentation
$ cd my-presentation

Scaffold a new presentation:

$ yo bespoke

Presentation workflow

All source files for the presentation reside in the src directory.

Start a local preview server:

$ grunt server

Compile and deploy to GitHub Pages, assuming a git repo with origin pointing to GitHub:

$ grunt deploy

To manually deploy elsewhere, compile all assets into the public directory:

$ grunt

Creating a PDF or print version

Many online presentation hosting services (e.g. Speaker Deck) only support PDF uploads. To help with this, the default Bespoke.js theme includes print styles so slides print in landscape A4 with all items visible. For PDF printing, it is recommended that you use Google Chrome.

If you're developing your own themes, open Chrome Developer Tools and set 'Emulate CSS media' to 'print' while you work.


MIT License

npm loves you