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

kefu-h5

v0.1.0

Published

工单-服务大厅

Downloads

16

Readme

快麦工单-移动端-服务大厅

前期准备

  1. 你需要全局安装pnpm命令,具体可以参考 pnpm官网
  2. 开发工具安装eslint插件

可用的脚本

在项目根目录可以执行以下命令:

pnpm dev

启动项目

pnpm build

打包项目

pnpm publish:test

发布到测试服务

pnpm check

对 packages/service-hall 进行tsc格式校验

pnpm lint

对 packages/**/*.tsx? */ 进行eslint格式校验

pnpm lint:js

对 packages/**/*.jsx? 进行eslint格式校验

pnpm format

调用 prettier 格式化所有**/*.[tj]s?(x)文件

pnpm format-check

调用 prettier 检查所有**/*.[tj]s?(x)文件格式

pnpm release

发布新版本,只是本地npm相关操作

pnpm commit

调用cz,进行格式化commit

开发流程

单一内容开发

  1. 从develop新建feat-xxx/fix-xxx分支
  2. 本地开发
  3. 提交改动的代码,推荐使用commit脚本pnpm commit进行规范化commit
  4. 测试通过,合并到develop

版本发布

灰度

  1. 发布内容直接合并到 release-gray 分支,push到远程仓库即可

正式

  1. 发布内容合并到 release 分支
  2. 执行 pnpm release, 进行归档记录
  3. release分支和新生成的tag 同步到远程仓库,tag变动会自动触发ci
  4. 测试通过后,将release合并到mater,并推送到远程仓库

本地测试发布

  1. 本地开发,发布到测试环境 执行: pnpm build:test && pnpm publish:test

第三方库

UI

Ant Design Mobile

ROUTER

react-router

STORE

redux redux-toolkit