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 🙏

© 2024 – Pkg Stats / Ryan Hefner

git-release-helper

v1.0.4

Published

A script that helps pushing code by git, building bundles and releasing version on remote server.

Downloads

1

Readme

git-release-helper

这是一个协助开发人员提交代码的脚本。

功能

  • 自动执行一系列的git命令
  • 自动构建代码
  • 自动登录ssh服务器并发布版本

背景

摆脱繁琐的手动发版步骤,我们可以利用脚本去帮助处理这些事情

如果有更为复杂详细的步骤,或者想要有更优的方案,可以采用持续集成(CI)

安装

推荐安装到全局

$ npm install -g git-release-helper

使用说明

###1. 创建配置文件生成grhconfig.json文件,然后修改内容

$ cd myProject && grh init
{
  "SSHConfigPath": "D:\\myProject\\ssh.json",
  "outputPath": "/build"
}

其中构建步骤会执行npm run buildoutputPath对应webpack的output路径。

ssh.json请单独存在项目外,内容如下

{
  "connectionOptions":  {
    "host": "127.0.0.1",
    "username": "admin",
    "password": "admin"
  },
  "commands": {
    "myProject": "cd /srv/app/myProject\ngit pull origin prod\nexit\n"
  }
}

###2. 在.gitignore上添加grhconfig.json

###3. 愉快地推代码

$ cd myProject && grh

示例图

维护者

@Scrooge6792.

如何贡献

非常欢迎你的加入! 提一个Issue 或者提交一个 Pull Request。