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

qy-taro-components

v1.0.4

Published

基于taro的组件库

Downloads

4

Readme

taro-wx-components

基于 taro 的微信小程序组件库

运行小程序组件库,查看小程序组件库支持的组件

yarn dev:weapp

打包组件库

第一步:执行 taro 打包命令 yarn build:welib

发布组件库到 npm 上

tips:发布之前一定要记得先执行打包命令哦,因为我们最终上传到 npm 上的是打包后的 lib 文件夹

  1. 登录 npm(登录公司的 npm) npm login
  2. 发布
  • 发布之前要修改版本号 npm publish

 目录说明

config 打包编译执行的相关文件 lib 打包出来的组件库,不会上传到 github,但是会上传 npm 上 types 组件类型定义相关 .npmignore npm 上传忽略文件 .gitignore git 上传忽略文件 gulpfile.js gulp 打包执行文件(针对 taro 打包出来的文件,进行二次打包压缩) README.md 组件库概述 开发文档.md 组件库开发说明文档

src------assets------ 静态资源及公共配置 |---css 样式公共文件,全局定义的主题色,样式等 |---img 图片等静态资源

  |--components     组件
  |--pages          组件汇总页面,用于展示所有组件
            |---baseComponentList       基础组件
            |---businessComponentList   业务组件
            |---visualComponentList     可视化组件

  |--app.tsx        整个项目的入口文件
  |--index.ts       这个是所有组件的入口,最终所有组件都是从哪里导出的  ******
  |--actions        状态管理相关  组件库暂未用到,暂不予关注
  |--reducers       状态管理相关  组件库暂未用到,暂不予关注
  |--store          状态管理相关  组件库暂未用到,暂不予关注