npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

generator-showcase

v1.5.0

Published

Generator for Showcase-version

Downloads

13

Readme

General infornation

Ripple Foundation has a showcase stack, built from three key components namely, PulseTile, QEWD.js and EtherCIS. Each component is developed independently and therefore has its own development and build process. This Generator takes the PulseTile component (React.js version) and gets it ready for deployment within the showcase stack environment.

This is an exemplar code base for people to learn from and customise for their own use.

Any version of PulseTile-React project, such as this Showcase version, consists of two main parts: Core framework and Non-Core plugins, including themes (i.e. styles and images).

This generator allows us to change / add / remove select plugins and automatically create the PulseTile Showcase build without changing the PulseTile React.js core framework.

For this automatic creation of the build, a generator based on Yeoman technology is used. This tool gives the possibility to create a new project from modules, that are located in the separate GitHub repositories.

To learn more about Yeoman, please see http://yeoman.io/

The components we have in Showcase Generator

The current version of Showcase generator includes following sub-generators:

  1. Core sub-generator;
  2. Non-core plugins sub-generators:
    • for silver-plugins set;
    • for bronze plugins set;
    • for carbon plugins set;
    • for TopThreeThings plugin;
    • for Vaccinations plugin;
    • for Feeds plugin.
  3. Non-core features sub-generators:
    • for User Tour feature plugin;
    • for Terms and Conditions feature plugin;
  4. Non-core pages sub-generators:
    • for UI-kit page;
  5. Theme Showcase sub-generator;
  6. Sub-generator for configuration files updating.

You can see how it works on the scheme below: alt text

How it works

We have separate GitHub repositories with Core (all core plugins and features), Non-Core plugins and features, and Theme that are then imported.

When the Showcase version is built, Generator makes following steps automatically:

  1. Clone latest version of Core from GitHub and install all required modules and libraries:
    $ yo showcase:core

  2. Clone Showcase-theme from GitHub and add it into your build:
    $ yo showcase:theme-showcase

  3. Clone all bronze, silver and carbon plugins from GitHub and add them to Non-Core component storage:
    $ yo showcase:plugin-top-three-things
    $ yo showcase:plugin-vaccinations
    $ yo showcase:plugin-feeds
    $ yo showcase:plugins-all-silver
    $ yo showcase:plugins-all-bronze
    $ yo showcase:plugins-all-carbon

  4. Clone features from GitHub and add it to the Non-Core component storage:
    $ yo showcase:feature-user-tour
    $ yo showcase:feature-terms-and-conditions

  5. Clone pages from GitHub and add it to the Non-Core component storage:
    $ yo showcase:page-uikit

  6. Update the config files which unite Core with Non-Core component storage:
    $ yo showcase:update --theme=showcase --force

  7. Create the build:
    $ npm run build

After these steps have taken place, the built PulseTile Showcase is ready for use.

Please see more detailed command line instructions below.

Before installing the Generator, you will need the following:

  • Node.js 6 or higher
  • npm 3 or higher (which comes bundled with Node)
  • Git

You can check current version by:

    $ node --version  
    $ npm --version   
    $ git --version

Installing

Install Yeoman tool at you local machine if it is absent there:

    $ npm install -g yo
    $ npm install -g generator-showcase

Go to the directory, where you will create your build, for example:

    $ cd /var/www/html/myDirectoryName/

Use Yeoman-generator to create your build automatically:

    $ yo showcase:core
    $ yo showcase:theme-showcase
    $ yo showcase:plugin-top-three-things 
    $ yo showcase:plugin-vaccinations 
    $ yo showcase:plugin-feeds 
    $ yo showcase:plugins-all-silver
    $ yo showcase:plugins-all-bronze
    $ yo showcase:plugins-all-carbon
    $ yo showcase:feature-user-tour
    $ yo showcase:feature-terms-and-conditions
    $ yo showcase:page-uikit
    $ yo showcase:update --theme=showcase --force

Attribute --force is used for overwriting config files by default.

Attribute --theme=showcase is used to choose Showcase-theme.

When you build will be created, go to project directory and create the build:

    $ cd PulseTile-React-Core
    $ npm run build

Your build will be located in two places:

  • as zip-archive in projectDirectory/build/
  • as set of files in projectDirectory/dist/