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

linkmore-design

v3.0.68

Published

🌈 🚀lm组件库。🚀

Downloads

3,911

Readme

技术栈

涉及的技术栈均采用当前最新的版本和语法:

  • 🌈 提炼自企业级中后台产品的交互语言和视觉风格。
  • 📦 开箱即用的高质量 React 组件。
  • ⚙️ 全链路开发和设计工具体系。
  • 🎨 深入每个细节的主题定制能力。

目录结构

├── build                   // webpack配置
│   ├── webpack.common.js   // webpack通用配置
│   ├── webpack.dev.js      // webpack开发环境配置
│   └── webpack.prod.js     // webpack生产环境配置
├── dist                    // 打包输出目录
├── lib                     // 打包输出目录
├── es                      // 打包输出目录
├── src                     // 组件目录
│   └── index.js            // 项目汇总文件
├── .babelrc                // babel配置
├── .fatherrc               // 打包配置
├── .editorconfig           // 项目格式配置
├── .eslintrc.js            // ESLint配置
├── .gitignore              // git 忽略配置
├── .postcssrc.js           // postcss配置
├── package.json            // 依赖包配置
└── README.md               // 项目说明

CLI 构建命令

📦 安装

yarn add linkmore-design --save
or
npm install linkmore-design --save

组件调试

  npm run dumi

组件文档生成

  npm run dumi:build

组件目录

如果要新建组件: 通过 npm run create 来创建新组件

├── style                   // 样式目录
│   ├──index.js             // 负责引入其他样式
│   ├── index.less          // 主要样式
│   └── other.less          // 其他样式(例如组件子组件样式)
├── index.js                // 组件
├── demos                   // 组件调试demo(在README.md中引入)
│   ├── basic.js            // 基本使用 
│   ├── other1.js           // 其他方式使用1
│   ├── other2.js           // 其他方式使用2
├── README.md               // 组件使用文档

md文档书写规范

🔨 示例

import { Button, Input } from 'linkmore-design'
const App = () => (
  <>
    <Input></Input>
    <Button />
  </>
);

组件问题

钉钉 call 乔克&零榆&古月

如果您有新组件或发现了任何bug,可以飞书找到我们,或者向我们的仓库提Pr,万分感谢!!!