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-gulpfile-advanced

v0.0.16

Published

A yeoman generator to build gulpfiles easily

Downloads

7

Readme

generator-gulpfile-advanced Build Status

A generator powered by Yeoman which gives a user the abilitiy to create all Gulp tasks they need to build, run or develop one's application.

NPM

Prerequisites

$ npm install -g yo generator-gulpfile-advanced

gulpfile-generator

Usage

  • Go to the root path of your project
  • To launch global generator:
$ yo gulpfile-advanced
  • Then select the tasks you want in your application
  • To launch sub-generator in order to add new tasks (after launching the global generator):
$ yo gulpfile-advanced:taskName
  • And now you can launch your task with gulp:
$ gulp taskName
  • Or launch in watch mode:
$ gulp taskName:watch
  • With the "custom" sub-generator you have the ability to make a custom task with existant tasks in your gulpfiles
  • For example if I want to create a task named "dev" which can transpile less, create a webserver and minify html:
$ yo gulpfile:custom
What would you call your custom task?
> dev
Which tasks do you want in your custom task ?
> less:watch, webserver:watch, minify-html:watch

Sub-generators

Development installation

$ git clone https://github.com/bnjjj/generator-gulpfile-advanced.git
$ cd generator-gulpfile-advanced
$ git submodule init
$ git submodule update
$ npm link

Contributing

  • The long goal of this generator is for it to be used with other sub-generators - ones I haven't developed too. Each sub-generator is isolated in its own git repository so that everyone can request pulls or file more precise issues.

  • Furthermore you can develop your own sub-generator; after you have tested don't hesitate to request a pull so that I can integrate it as a sub-module in the main generator. This way you will still be the sole owner of your work and are free to edit it as you please.

  • Here are the pre-requisites for your pull requests to be accepted:

    • Have your files well documented
    • Have automated tests
    • Keep the same structure so as to keep everything unified
  • The structure of the sub-generators has to be as follows:

    • One file per task
    • Task files have to be located in the "templates" directory et bear the same name as the task
    • An "index.js" file at the root of your sub-generator will allow for configuration
  • If you're interested in developing:

    • Clone the project and integrate your own generator in the "generators" directory
    • When you're done with development, integrate as a Git sub-module

Contributers

Big thanks to WaxAndWane for the translation


Made by Coenen Benjamin with love