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

xes-citool

v0.1.34

Published

testCi

Downloads

5

Readme

使用

options

1、工具初始化

-i

生成必要的配置文件和git钩子监听。

commands

1、commit

用于标准化commit信息

2、push

用于标准commit后,pull并push代码。

3、publish

  • 标准化commit。
  • 版本号自动升级并生成CHANGELOG.md。
  • push源码。
  • 执行ciToolConfig.js配置文件对应的cmd.build命令打包。
  • 根据不同类型(h5、小程序)和环境(uc、testing),部署打包后的文件。

type:

必填,支持h5或mini。

options:

-t

设置打包环境为testing,版本号不会自动升级

环境变量:

{ Fetch_Flag: 'testing', NODE_ENV: 'dev' }

-u

设置打包环境为uc环境

环境变量:

{ Fetch_Flag: 'uc', NODE_ENV: 'production' }

注意

如果不设置-t或-u,不会打包和部署,只会把版本号升级并push源码进行发版。

commit标准化

/**
* feature:新功能
* update:更新某功能
* fixbug:修补某功能的bug
* refactor:重构某个功能
* optimize: 优化构建工具或运行时性能
* style:仅样式改动
* docs:仅文档新增/改动
* chore:构建过程或辅助工具的变动
  */

只有feature和fixbug两种类型的commit-msg会记录到CHANGELOG.md文件里面