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

browserify-build

v1.1.1

Published

this is an auto develop tools with browserify build

Readme

browserify-build

使用browserify-build,可用避免工作目录有多余的gulpfile.js和相应的node_moudles文件。同时也避免了当存在多个工作目录时,么个目录都需相应的gulp文件。

安装

  • npm install -g browserify-build, 安装到全局变量,便于使用
  • 全局安装后,可以避免冗余的gulpfile.js,只需要一份build.conf.json就可以执行整个构建工具,类似于webpack

功能

  • 支持es6, react, sass
  • 基于browser-sync的服务器,支持自动刷新, 多终端同步,远程调试,css注入
  • 基于browseriry构建,bundle参数放在build.conf.jsonbrowserify.bundleConfigs数组中
  • 支持显示require('**.html'), 无须使用html2js进行转换。

用法

* browserify-build config 
   创建build.conf.json配置文件
   
* brosserify-build init
   创建可用的一个demo
   
* browserify-build clone
	clone相应的gulp task,以便自行修改

* browserify-build start
	类似执行gulp dev

* browserify-build build
    构建,类似执行gulp build

config参数说明

  • app默认的开发目录
  • build构建目录,每次执行browserify-build build,都会自动清空该目录然后重新生成最终代码
  • scriptsjs代码目录
  • stylescss或sass代码目录
  • port端口号,启动服务器的端口号,如果该端口已经被占用,则默认使用port + 1的端口
  • https指定服务器是否开启https,默认为false
  • proxy是否开启代理,默认为false,如果想用代理,则填入代理地址如http://localhost:8000
  • sass指定输出的sass文件,其父目录为styles属性值
  • browserify browserify的构建参数,其中bundleConfigs为指定的构建数组
    • entries 入口文件

    • dest 开发时打包之后的存放地址

    • build 最终构建时存放的地址

    • outputName 打包文件的名字