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

xxxxxx-test

v0.0.1

Published

### 目录结构

Downloads

4

Readme

MarvelCode 组件资产模版库

目录结构

├───tsconfig.json														# Typescript配置文件
├───vite.config.docs.ts											# 文档的构建配置文件
├───vite.config.package.ts									# 组件库或单组件的构建配置文件
├───Shell                     	            # shell命令文件夹
│	├── deploy.sh                             # 部署命令
│	├── publish.sh                            # 组件发布命令
├───Src																			# 工程核心文件夹
│   ├── docs                	              # 文档文件夹
│   ├── packages                            # 组件库核心文件夹
│   │   │─── core                           # 组件核心代码
│   │   │    │─── xxxxx                     # 组件文件夹 例如:button或card
|   |   |    |     │─── examples         		# 示例文件夹
|   |   |    |     |	  |-- xxxx           	# 详细示例文件夹 例如: button-base
|   |   |    |     |    |	  |-- docs.md     # 示例文档描述文件
|   |   |    |     |    |	  |-- index.vue   # 示范核心编码文件
|   |   |    |     │─── index.ts         		# 对外暴露组件信息文件
|   |   |    |     │─── index.vue         	# 组件核心编码文件
|   |   |    |     │─── README.md         	# 组件基础文档编写文件
│   │   │─── styles                         # 样式表文件夹
│   │   │    │─── variables.scss            # 变量定义文件
│   │   │─── index.ts                       # 对外暴露组件库文件

工程命令描述

| 命令 | 描述 | | -------------- | -------------------------- | | serve:docs | 启动文档查看的本地开发命令 | | build:docs | 打包文档的命令 | | preview:docs | 启动文档的本地静态服务 | | build:packages | 打包组件库的命令 | | build | 同时打包组件库及文档 | | rl | 发布组件库命令 | | deploy | 部署&上传代码命令 |

特殊说明

  • 无需自己搭建文档的平台,按照工程的文件结构编写示例以及文档就会自动生成文档页面
  • 工程默认使用了Sass样式预处理器,如有其他需要请自行配置