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

bower-auto-release

v1.1.358

Published

This **node module** will publish your package to a bower registry. Ideally you would **only publish to npm**, but as many older projects still use bower, this is sometime an unfortunate necessity.

Readme

bower-auto-release

This node module will publish your package to a bower registry. Ideally you would only publish to npm, but as many older projects still use bower, this is sometime an unfortunate necessity.

How to enable bower publishing for your existing npm module

Assuming you already defined an npm module in CI and already use the incredible wnpm-release script to automatically bump your module's version, all you have to do to publish your package to bower is follow these simple steps:

Add bower.json to your project

Just run the command bower init, and answer truthfully to all questions :P

When using a PRIVATE bower registry: Add .bowerrc to your project

Notice: This is critical so that you work against your private bower registry.

Run bower-auto-release in your release script

{
  "name": "my-package",
  "version": "1.0.0",
  "scripts": {
    "build": ":", 
    "test": ":",
    "release": "wnpm-release; bower-auto-release",
    "postpublish": "rm -f npm-shrinkwrap.json"
  },
  "devDependencies": {
    "wnpm-ci": "*",
    "bower-auto-release": "*"
  }
}

The --dist option

By default the contents of your post-build dist folder are copied to the bower component's root folder. You can change this using the --dist option.

For example to copy the contents of the build output folder you would use: bower-auto-release --dist build

Or, to copy everything simply use --dist . (note that in this case dist will be removed from .gitignore on the bower-component branch).

The --git-repo option

By default the output of your project is pushed to a branch on its own repository (designated by the GIT_REMOTE_URL environment variable). You can change this by pointing to a different repository using the --git-repo option.

For example: bower-auto-release --git-repo [email protected]:wix/my-library-bower-component

This option is typically used on monorepos that have multiple bower components to release. Since bower's design dictates one-to-one relationship between published component and git repository, you should create a separate repository for publishing and pass it using this option.

The --branch option

By default your project is published to a branch named ${package-name}-bower-component. You can change this using the --branch option.

For example: bower-auto-release --branch kuku

In case you use a separate repository for publishing to bower from a monorepo as described above, it would make sense to do something like this: bower-auto-release --git-repo [email protected]:wix/my-library-bower-component --branch master

Your package is automatically registered to bower

Once you're build is complete in CI, your package can be installed with -

bower install package-name

where package-name is the name you gave your package in bower init above