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

joes-gulp-tasks

v0.5.3

Published

Some Gulp tasks by Joe

Readme

joes-gulp-tasks - An Accessible Gulp 4 Package

Description

Writing your own gulp pipelines isn't always easy. Wouldn't be nice to automate all your front-end develop tasks with a straight forward configuration file? Gulp task management that is flexible, but accessible. This package is an attempt to bring powerful gulp tasks to any project, quickly and hopefully painlessly.

This module is currently under active development. If you would like to contribute, feel free to open issues and create pull requests on GitHub. Thanks!

More coming soon...

Requirements

Note: If you have previously install gulp using npm install --global gulp, you will need to uninstall and install the Gulp Cli. See GulpJs for more information.

Getting Started/Installation

  1. Install gulp 4 - npm install gulpjs/gulp.git#4.0 --save-dev

  2. Install Joe's Gulp Tasks - npm install joe-gulp-tasks --save-dev

  3. Open the newly created ./gulpconfig.js file and set the configurations to match the directory structure of your project. Toggle the settings as you see fit.

  4. gulp

  5. Enjoy!

Installation will add the following files to your root directory (but not override them if they are already there).

  • gulpfile.js - This is the main file that Gulp will use. Add custom tasks here.
  • gulpconfig.js - Set this up config file up. Tell Joe's Gulp Tasks what to do, where to find things, and where to put them.
  • .eslintrc.js - Linting configuration for eslint (Javascript). Default is set to the airBnB styleguide.
  • .stylelintrc.js - Linting configuration for stylelint (Css). Default is set to the airBnB styleguide.

Usage

gulp

This will start browserSync, do a single compile, and start your watches. Happy coding!

More Usage

This package will auto-generate a number of tasks based on the setup of your ./gulpconfig.js. These tasks are categorized as either 'clean', 'compile', 'validate', 'watch', or 'default'. All currently active tasks within a category can be run using gulp masterTaskName, for example...

Run all clean tasks

gulp clean

...or...

Run all compile tasks

gulp compile

To list out all current tasks and to view their relations, simply run...

gulp --tasks

Features

Here are some of the features this package includes:

  • BrowserSync - This tool is great for development! Serve your site locally, and keep pace with code changes without have to refresh!
  • Sass/Scss Compiling - A collection of tools to glob, compile, add browser compatibility, and compress your stylesheets
  • Javascript Compiling - Babel lets you write the Javascript you want, including ES6. Uglify? Minify? No problem!
  • HTML Templates - Twig.js is a great Javascript implementation of Twig, a powerful but easy to use templating language that brings sanity to your html. Fans of Drupal 8 rejoice!
  • Lint/Validation - Lint your stylesheets, javascript, and html again a wide range of style guides.
  • SassDoc/DocumentationJS - Good code is commented. Reward good code with beautifully rendered documentation. Impress your team, your client, and your boss.

Linting

This package will auto-generate (if they are not already present) two files with default configurations for linting.

EsLint

Configuration for linting javascript can be found in the .eslintrc.js file. This package comes with a default .eslintrc.js file configured to use the airBnB's javascript styleguide.

StyleLint

Configuration for linting css/scss/sass can be found in the .stylelintrc.js file. This package also comes with a default .stylelintrc.js file configured to use the airBnB's css styleguide.

Sass/Scss and Sass Documentation

Sass/Scss documentation is handled by Sassdoc. See sassdoc docs at ./sassdoc (at http://localhost:3002/sassdoc after npm start)

Add more sassdoc annotations like /// @param by seeing docs here.

Build Sassdocs:

gulp compile:sassdoc

JS and JS Documentation

Javascript documentation is handled by DocumentationJS. See documenationJS docs at ./jsdoc (at http://localhost:3002/jsdoc after npm start)

Add more jsdoc annotations like /** @param */ by seeing docs here.

Build JSdocs:

gulp compile:jsdocs

Useful Links

Coming soon...

Troubleshooting

  1. Delete node_modules and re-install:
rm -rf node_modules
npm install
  1. Errors involving 'glob patterns' are usually do to urls in the gulpconfig.js file not pointing to actually directories or files

  2. Running gulp -v should return something like ...

[21:05:35] CLI version 1.2.2
[21:05:35] Local version 4.0.0-alpha.2

If it does not, then you will need to uninstall gulp globally and install the gulp-cli. See gulpjs