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 🙏

© 2026 – Pkg Stats / Ryan Hefner

generator-vue-storefront

v0.1.0

Published

A yeoman generator for the vue-storefront ecommerce PWA.

Readme

Vue-Storefront Generator

A yeoman generator for the vue-storefront ecommerce PWA.

Prerequisites

  • Yeoman needs to be installed globally (npm install -g yo) to run this generator.
  • By default, this generator will be applying additional code that will makes vue-storefront apps easier to work with in a docker environment so both docker and docker-compose are required to run the default generated code.

Getting Started

  • Install generator: npm install -g generator-vue-storefront
  • Run generator: yo vue-storefront

You will be asked questions regarding your installation, including your project's name. After answering them, a copy of vue-storefront and the vue-storefront-api will be available inside your project folder.

macOS users - Docker for mac limitations

Docker for Mac does not support host network mode.

Solution for you:

  1. in the root dir of your generated app, edit ./docker-compose.yaml and remove the line

    network_mode: host
  2. in ./vue-storefront/.env change VUE_STORE_API_HOST from http://localhost:8080 to http://vue-api:8080

  3. in you /etc/hosts file add the line:

    127.0.0.1       vue-api

Running vue-storefront

Among the files generated, there are docker-compose.yml files that are meant to run vue-storefront and its dependencies. along with .env files containing the default environmental variables.

.
├── vue-storefront-api
│   └── .env
│   └── docker-compose.yml
├── vue-storefront
│   └── .env
│   └── docker-compose.yml
├── docker-compose.yml

If both the vue-storefront and vue-storefront api are generated, one will be placed at the root directory and can be used to build and connect both apps through the following commands:

  • docker-compose build to build the images. Volumes have already been assigned in the file to facilitate development in both apps.
  • docker-compose up to activate both apps. It is recommended to first initialize elasticsearch (docker-compose up es1) so the service is ready to receive data from the vue-storefront-api.

The vue-storefront-api will, by default, generate the same mock data present in the vue-storefront Demo Site.

Options

Options can be written alongside the generator call to provide answers to the generator's questions in the same command or change the generator's behaviour. The following are the supported options:

  • --name: Indicates name of project to which vue-storefront code will be added.
  • --api-tag: Indicates which tagged version of the vue-storefront-api you would like to download.
  • --tag: Indicates which tagged version of the vue-storefront you would like to download.
  • --frontend: Indicates that you only wish for the vue-storefront to be downloaded without the api.
  • --backend: Indicates that you only wish for the vue-storefront-api code to be generated.
  • --docker-account: Used for modified .travis.yml files. Indicates the dockerhub username to which vue-storefront images can be pushed to.
  • --divante: Indicates that you want to generate the exact vue-storefront and vue-storefront-api code.
  • --keep-linting: Indicates that you want your vue-storefront project to retain the same linting rules giving by Divante.

Example

yo vue-storefront --name crypto-store --tag 1.9.2 --frontend --divante

The above command will generate a project folder called crypto-store which will contain version 1.9.2 of Divante's vue-storefront without any of our additional code.