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

polygulp

v0.7.6

Published

Indirect Gulpfile for Polymer projects

Readme

polygulp

Indirect gulpfile for Polymer applications.

Getting Started

If you haven't used Gulp before, be sure to check out the Getting Started guide and how to use Gulp plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install polygulp --save-dev

Once the plugin has been installed, it may be enabled inside your Gulpfile with this line of JavaScript:

module.exports = function(gulp) {

    // Init main modular gulpfile
    var gulp = require('gulp');

    require('polygulp')(gulp);

};

Usage

Tasks

gulp serve

Runs server for development.

gulp serve:dist

Runs server displaying optimized application for production.

gulp dist

Generates optimized application for production in dist folder.

You can use custom configuration using command line in gulp serve, gulp serve:dist, gulp dist and default tasks:

Custom environment

Provide environment variable by command line to use environment config.json if exits in main project.

gulp --environment=integration
Custom endpoints configuration

Provide endpoints variables by command line to use them instead those provided in config.json.

gulp --endpoint.urlBase=https://my-url-base/{{module}}/ --endpoint.version=v1 --endpoint.domain=my:domain

gulp release

Bumps bower & npm version, commits changed files and creates a new tag with the specified version.

NOTE: You must specific a branch name with --branch

task | version -------------------------------------------------|----------------- gulp release --patch --branch branchName | v0.0.1 -> v0.0.2 gulp release --minor --branch branchName | v0.0.1 -> v0.1.0 gulp release --major --branch branchName | v0.0.1 -> v1.0.1 gulp release --version 1.1.1 --branch branchName | v0.0.1 -> v1.1.1

Task targets, files and options may be specified according to the gulp Recipes guide.

Configuration

You can provide a default config file in app/resources/config/config.json and polygulp will set an object in app.common.config namespace.

app/resources/config/config.json:

{
    "debug": "true",
    "appName": "my-app-name",
    "version": "0.0.1",
    "analyticsID": ["UA-XXXXXXXX-YY"],
    "smartBanner": {
        "id": "com.my.app",
        "daysHidden": 15,
        "daysReminder": 90
        },
    "backend": {
        "urlBase": "https://my-url-base/{{module}}/",
        "version": "v8",
        "domain": "my:domain",
        "endpoints": {
            "login": "loginuser",
            "logout": "logoutuser",
            "feedback": "feedback"
        }
    },
    "webfs": {
        "name": "webfs",
        "version": "v1.0",
        "domain": "/books:Book/"
    },
    "routes": {
        "home": "/route_home",
        "movie": "/route_movie/:id"
    }
}

Provide environment config files to extend the default config file.

app/resources/config/{{my-environment}}/config.json:

{
    "analyticsID": ["UA-ZZZZZZZ-YY"],
    "smartBanner": {
        "id": "com.my.another.app"
        },
    "backend": {
        "urlBase": "https://my-environment-url-base/{{module}}/",
        "version": "v10",
        "domain": "my:another:domain"
    }
}