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

depoly-gjl

v2.0.5

Published

自动化部署

Downloads

68

Readme

一键部署前端包

1先 安装

npm install depoly-gjl -D

2在项目文件下新建publish.js


// 线上环境
// 此文件慎重改 导致线上问题


exports.publishConfig = {
    pro:{
        host: '192.168.8.xxx', // 服务器ip地址或域名
        password: '1xxx', // 密码,请勿将此密码上传至git服务器
        catalog: '/root', // 前端文件路径不包含目录    注意修改(不加前端文件夹名称)
        targetFile: 'viid_client', // 线上前端文件夹名称    注意修改
        port: 22, // 服务器ssh连接端口号
        username: 'root', // ssh登录用户
      } 
}
exports.GlobalConfig = {
  publishEnv: ['pro'], // 发布环境,可填写多个,也可只填写一个
  buildDist: 'viid_client', // 前端文件打包之后的目录,默认dist    注意修改 (打包后名称)
  buildCommand: 'npm run build', // 打包前端文件的命令             注意修改
  readyTimeout: 20000, // ssh连接超时时间
  deleteFile: true, // 是否删除线上上传的dist压缩包
}

3 在package.json中添加

  "scripts": {
    "depolyInit": "depolyInit",
    "build": "自己的前端打包命令",
  },

4执行开始打包

npm run depolyInit