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

@symph/antd-plus

v0.1.7

Published

基于antd和antd-pro的组件库。

Downloads

2

Readme

统一组件库文档说明

项目说明

该项目是一个基于 react 的UI组件库,提供满足多种业务场景的UI组件。
项目基于storybook框架开发,主要开发语言为typescript

目录结构

|-- .circleci                # circle-ci相关配置  
|-- .storybook               # storybook相关配置
|-- public                   # 公共资源
|-- build                    # 编译脚本相关
|-- src                      # 项目源代码
|-- |-- assets               # 资源文件
|   |-- components           # 公共组件
|   |   |-- 。。。
|   |   |-- _utils           # 公共方法
|   |   |-- _hooks           # 自定义hooks
|   |   |-- style            # 组件样式
|   |   |-- store.ts         # 组件状态管理
|   |   |-- .stories.mdx     # 组件故事
|   |-- examples             # 示例组件代码,开发学习使用
|   |-- index.js             # 入口文件,打包入口
|   |-- Into.stories.mdx     # 介绍页

脚本说明 -- package.json

{
  // 开发环境,运行react项目,本项目无需使用
  "start": "react-scripts start", 
  // 生成环境,打包react项目,本项目无需使用
  "build": "cross-env BABEL_ENV=production babel src -d dist",
  // 执行项目中测试用例
  "test": "react-scripts test",
  // 输出项目中关于webpack的相关配置,禁止使用!!!
  "eject": "react-scripts eject",
  // 开发环境,运行storybook,项目开发时请使用这条指令
  "storybook": "start-storybook -p 9009 -s public",
  // 生产环境,打包storybook项目,项目部署时请使用这条指令
  "build-storybook": "build-storybook -s public",
  // 生产环境,打包storybook项目文档,项目部署文档说明时请使用这条指令
  "build-storybook-docs": "build-storybook -s public --docs",
  // 项目发布到npm时,请使用这条指令
  "release": "auto shipit"
}

开发指南

开发分支--dev,请在dev分支上进行开发

  1. 启动
yarn storybook
  1. 组件开发
    • 每个组件创建一个单独文件夹,所有于组件相关代码都放在这个文件夹下。

部署

。。。。。。。

Storybook插件说明

学习资源