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

hwq-custom-ui-test

v0.1.6

Published

测试研究专用,别下载

Downloads

2

Readme

hwq-custom-ui-package

如何在本地测试自定义ui组件是否可用

第一步:执行打包命令
npm run build:lib

第二步:从项目跟目录下面执行
npm link
(执行npm link命令会在全局npm node_modules文件夹(与安装我们的全局npm依赖node_modules文件夹相同)中为当前包创建一个符号链接)

第三步:在使用该组件的项目中执行
npm link hwq-custom-ui-package

如何发布npm包

第一步:登录
npm login

第二步:发布(注意:版本不能相同)
npm publish

如何发布私服npm包

设置私服npm下载地址,这里的地址是私服包含代理外网地址

npm config set registry http://10.10.60.226:8073/repository/npm-all/

登录私服npm,这里的地址是私服内部地址

npm login --registry=http://10.10.60.226:8073/repository/npm-internal/

私服特殊配置

  "main": "lib/dependency-package.common.js", // 这个是依赖包入口文件,安装后会自动引用这个文件
  "publishConfig": { // 设置发布地址
    "registry" : "http://10.10.60.226:8073/repository/npm-internal/"
  }

vue自定义ui组件上传至npm中怎么使用

第一步:安装
npm install hwq-custom-ui-package

第二步:运用
import {
  Dialog,
  Message
} from 'hwq-custom-ui-package'

Vue.use(Dialog)
Vue.use(Message)