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

cub-ui

v1.0.4

Published

cub-ui project

Downloads

2

Readme

说明文档

使用

加入贡献

一、 初始化开发

# 1. 初始化
  cd cub-ui && npm i 或者 cnpm i

# 2. 启动文档编写服务
  npm run server:doc

# 3. 启动example服务
  npm run server:example

# 到这里,就已经可以开始开发了。

# 4. 运行单元测试,并监听代码变化持续执行单元测试
  npm run watch:test

# 5. 构建测试环境包
  npm run build:test

# 6. 构建生成环境包
  npm run build:prd

# 二、目录结构

## 作为该项目的开发者,主要需要关注的目录有三个:

  1. src:源码目录
  2. doc:文档目录
  3. examples:组件示例目录--开发时引入到组件示例中查看结果;

# 其中src目录下包含:

  components:组件目录,下面的每一个组件是一个单独的目录
  images:公共图片
  plugins:插件目录,将组件封装成插件的调用形式
  styles:样式目录
  utils:工具目录
  flexible.js 适配js
  index.js 组件输出js,
  lib:组件输出目录(执行npm run test or npm run prd 生成lib文件夹)