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

miniex-ui

v1.3.4

Published

a react ui libiary.

Downloads

71

Readme

NPM issues GitHub forks GitHub stars Vsersion

MiniEx-UI

命名由来

MiniEx 取自 Minimal and Exquisite,意义为极简精致。 组件库致力于打造为极简且精致的形式面向用户。

项目简介

技术栈

React + TS + Less + Webpack + Lint + Jest

项目实现功能

✅ 极简的UI呈现和较好的性能,无依赖现成的组件文档库

✅ 项目架构整合UI组件库和文档站

✅ 本地开发场景优化,区分本地开发和生产环境

✅ 支持MDX语法引入组件、编写文档

✅ 支持黑夜/白天主题切换

✅ 支持中英文国际化

✅ 全局公共样式统一,@mixin支持

✅ 支持CHANGELOG.md展示

✅ 支持jest编写单测用例

✅ 部署Vercel,master分支commit即刻触发项目文档构建

✅ 支持全文档快速搜索

✅ 开发规范保证(各类lint校验)

项目代办

📌 组件开发完善

📌 jest单测覆盖率达100%

📌 新建组件的开发提效(node脚本)

📌 类码上掘金、codepen、codesandbox,支持在线实时编辑代码,便于用户调试

页面展示

miniex-ui

目录说明

├── docs/             # 文档相关
│ └── config.json     # 文档配置文件,待定
├── src/              # 源码
│ ├── components/     # 组件
|  ├── button/
|   ├── demo/         # demo 目录
|   ├── style/        # 组件样式
|   ├── button.md     # 组件文档
|   ├── index.ts      # 组件入口
|   └── type.ts       # 组件 props 类型定义
|  ├── input/
|  └── ...
| ├── utils/          # util 方法
| ├── hooks/          # hooks
| ├── styles/         # 全局主题样式
| ├── index.less      # NPM 样式入口
│ └── index.ts        # NPM 入口
├── .eslintrc.js      # eslint 配置文件
├── .npmrc
├── package.json
└── tsconfig.json     # typescript 配置文件

如何使用

项目安装依赖

pnpm i

项目文档站开发环境启动

npm run dev

项目文档站生产环境启动

npm run start

项目组件库打包构建

npm run build:pkg

执行单测用例

npx jest

可选项:

  1. src/xx/xx 执行制定文件目录下单测
  2. --coverage 生成单测覆盖率html
  3. -w 实时监听单测用例变化,重新执行

Licensed

MIT.