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 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-blip-plugin

v1.0.10

Published

Yeoman generator for BLiP plugin React projects with helm and kubernetes.

Downloads

15

Readme

Generator blip Plugin

Yeoman generator for a blip Plugin and ready to Kubernetes and helm.

NPM Version Downloads Travis Status CircleCI Status AppVeyor Status Coveralls Status License

File Structure

Assuming your folder is called blip-plugin-project. Whatever name you choose will replace all occurrences of that string in the project

 📁blip-plugin-project
 |__📁charts
    |__📁blip-plugin-project
    |   |__📁templates
    |   |   |__📃{_helpers.tpl}
    |   |   |__📃{autoscale.yaml}
    |   |   |__📃{deployment.yaml}
    |   |   |__📃{ingress.yaml}
    |   |   |__📃{secrets.yaml}
    |   |   |__📃{service.yaml}
    |   |__📃{.helmignore}
    |   |__📃{Chart.yaml}
    |   |__📃{values.yaml}
 |__📁src
    |__📁api
    |   |__📃{application-service.js}
    |   |__📃{common-service.js}
    |__📁components
    |   |__📁SomeComponent
    |   |   |__📃{SomeComponent.js}
    |   |   |__📃{index.js}
    |__📁contexts
    |   |__📃{CommonContext.js}
    |__📁hooks
    |   |__📃{content-localizer.js}
    |__📁reducers
    |   |__📃{common-reducer.js}
    |__📃{_globals.scss}
    |__⚙️{appsettings.json}
    |__📃{index.js}
    |__📃{index.scss}
    |__📃{service-worker.js}
|__📁test
|   |__📃{README.md}
|__⚙️.editorconfig
|__⚙️.eslintignore
|__⚙️.eslintrc
|__⚙️.gitattributes
|__⚙️.gitignore
|__⚙️.prettierrc
|__🐋Dockerfile
|__⚙️jsconfig.json
|__⚙️LICENSE
|__⚙️package.json
|__⚙️README.md

Usage

Generate without install Yeoman

# Create a directory for your project && Change into directory
$ mkdir my-plugin-name && cd my-plugin-name

# Generate a project
$ npm init yo generator-blip-plugin

Generate installing Yeoman

  • Install Yeoman
# npm: installed yeoman globally
$ npm install -g yo
  • Install Generator
# npm: installed blip plugin generator
$ npm install -g generator-blip-plugin
  • Creating a project
# mkdir: created dir `my-plugin-name`
# cd: navigated to dir `my-plugin-name`
$ mkdir my-plugin-name && cd my-plugin-name

# yo: ask questions and generate blip plugin project
$ yo blip-plugin
  • Running project

| Action | Usage | |--------------------------------------------|---------------------| | Create the dependencies and files JSON | npm run prepare | | Linting code | npm run lint | | Running unit tests | npm run jest | | Running lint + tests | npm test | | Running code coverage | npm run coverage | | Sending coverage results to Coveralls.io | npm run coveralls |

Development

IF YOU ADD NEW FILES OR DEPENDENCIES TO THE TEMPLATE YOU MUST RUN PREPARE SCRIPT

# npm: run prepare script which creates dependencies.json and files.json
$ npm run prepare

Prerequisites

# npm: installed yeoman globally
$ npm install -g yo

Clone the repo

# git: clone this repo
$ git clone https://github.com/chr0m1ng/generator-blip-plugin.git

Run generator

# Change into directory
$ cd generator-blip-plugin

# Link generator
$ npm link

# Run generator
$ yo blip-plugin

Author

This generator was created based on original oss generator created by Roberto Achar.

License

MIT