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

wsl-am-ui

v1.0.3

Published

`AM-UI 艾美UI库`

Downloads

1

Readme

AM-UI 艾美UI库

安装

# npm script
npm i

运行

# npm script
npm run dev 

打包

# npm script

# npm包
npm run np:build

# 项目文档
npm run docs:build

推送部署

# npm script

# npm包
npm run np:publish

项目结构

test-uui
├─ demo                     // 组件文档demo示例文件夹
│  └─ Amtable               // 相对应组件的demo展示文件
│     └─ index.tsx
├─ docs                     // 文档 - 可在组件库文档新增其他页面
│  └─ index.md
├─ src                      // 公共组件 src
│  ├─ .umi                  // dumi文档缓存内容
│  ├─ AmTable
│  │  ├─ index.less         // .less样式   .sass样式系统环境依赖太大
│  │  ├─ index.md           // 组件md文件
│  │  └─ index.tsx
│  └─ index.ts              // 导出
├─ .babelrc                 // babel
├─ .gitignore               // git 忽略文档
├─ .umirc.ts                // dumi配置项
├─ gulpfile.js              // 打包配置项
├─ package-lock.json
├─ package.json
├─ README.md
├─ tsconfig.build.json
└─ tsconfig.json

执行脚本

    // 本地运行dumi文档项目
    "dev": "dumi dev", 
    "docs:preview": "cross-env SITE_BUILD_ENV=PREVIEW npm run docs:build && serve doc-site",

    // 删除doc-site[文档项目打包文件夹] .umi[本地缓存]文件
    "docs:clean": "rimraf doc-site src/.umi",

    // 1.删除doc-site[文档项目打包文件夹] 2.dumi文档打包生成新的 doc-site
    "docs:build": "rimraf doc-site && dumi build",

    // 关于自动部署
    "docs:deploy": "npm run docs:build && gh-pages -d doc-site", 

    // 清理lib esm[npm包]
    "np:clean": "rimraf lib esm dist",

    // 1.清理lib esm[npm包] 2.tsc通过tsconfig.build.json打包esm  3.用lib将lib复制了一份,为cjs和esm导出包时也能提供类型声明 4.gulp打包
    "np:build": "npm run np:clean && tsc -p tsconfig.build.json && cpr lib esm && gulp", 

    // npm 包发布
    "np:publish": "npm publish"