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

slush-webhook

v1.0.2

Published

Generator for Webhook projects.

Downloads

13

Readme

slush-webhook npm release

This generator is the starting point for a Webhook-based website. It contains all the modules, boilerplate, and built-in process to get you started building and deploying a full website.

Created by Ronik Design and used to speed up internal development.

Features

  • Scaffold Webhook projects.
  • Deploy staging sites easily to S3 (requires a properly configured AWS account. The easiest approach here is probably brew install awscli then aws configure)
  • Choose from one of three frameworks, all using ES6 and webpack
    • Starter Kit — uses Knockout.js, a robust set of SCSS and PostCSS tools, and more
    • Bootstrap — installs Bootstrap and all its dependencies, in a friendly hackable way
    • Blank — just the process setup, and a few polyfills.
  • Automatic SVG sprite generation.
  • Image optimization.
  • Gulp-based build tools.

Getting started

Install your global dependencies.

$ npm install -g slush slush-webhook

Webhook installation

$ npm install -g wh grunt-cli

If this is a totally new Webhook project, create your Webhook site, then run:

$ wh create [sitename]
$ cd [sitename]
$ slush webhook

Warning! Slush uses conflict resolution and allows you to reject overwriting files, BUT you could very easily overwrite something you care about as it spews a bunch of files and folders into your current directory and merges with your package.json. Be careful, try it out first on something you don't care about, commit or backup first. But also, feel free to run it again and again.

Working with your site

You'll find documentation within the newly-created site's README that offers more detail, but the basics are as follows.

Develop your site, watching files for changes and updating on the fly:

gulp develop

This launches Gulp watchers and the Webhook local dev server. The browser will reload when the html, css or js changes.

Deploy your site to Webhook:

gulp deploy --target=production

Or, deploy it to a staging S3 bucket (if configured):

gulp deploy --target=staging --production

This will deploy the site to an S3 bucket with a name derived from your staging_url if it exists, otherwise, from your url.

Getting To Know Slush

Slush is a tool that uses Gulp for project scaffolding.

Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.

To find out more about Slush, check out the documentation.

Contributing

See the CONTRIBUTING Guidelines

Support

If you have any problem or suggestion please open an issue here.