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

z-deploy

v1.1.6

Published

单页应用自动化构建框架

Downloads

69

Readme

z-deploy

单页应用自动化构建框架


##why z-deploy

  • 集成browserify+watchify+babelify开发环境,支持最新es2015语法,支持require node/npm模块.
  • 集成browser-sync,支持多终端同时监听,自动刷新页面
  • 支持sass
  • 支持全文件自动添加md5版本号
  • 自动修改资源引用的相对路径

安装

[sudo] npm install -g z-deploy

基本命令

init

初始化开发目录,自动创建目录结构。

[sudo] z-deploy init [--overwrite][-o]
options:
  • --overwrite or -o 覆盖当前工作目录下可能重名的文件以及目录
folders:
-assets //存放psd、doc等文件
-bin-debug //生成临时编译文件
-css //sass scss
 main.scss //样式文件入口
 --libs //存放scss类库
 	normalize.scss 

-js //es2015
 main.js //前端逻辑入口
 --libs (存放js类库)
 	ployfill.min.js
-release //发布目录
-resources
 --images
 --videos
 --sounds
-server //node服务
index.html 
  	 

default

监听文件的修改,自动编译SASS、BABEL,自动刷新浏览器等。

[sudo] z-deploy

publish

发布项目文件,打包压缩js、css等资源,修改引用路径,增加版本号等。

[sudo] z-deploy publish

warn

  • js/libs下的js文件引入支持require以及script.
  • 如果运行出现permission denied错误,请加上sudo.