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

jic-ui-framework

v1.0.5

Published

- 根目录 - assets - css 整体的css样式 - js - axios.js axios的二次封装 - charts.js 图标函数的封装 - directive.js vue自定义指令的封装 - filter.js 全局过滤器的封装 - ie.js 对ie兼容部分的封装 - mixin.js 混入函

Downloads

6

Readme

jic-ui-framework

npm发包流程

1、注册npm账号https://www.npmjs.com/signup

2、初始化npm项目,在根目录下执行npm init命令

特别说明:main:程序的入口文件,默认是index.js.
devDependencies:你要发的包,所依赖的开发环境下的包。
repository:代码存放地址(一般是git地址)。
license:
keywords:便于搜索npm 包。
dependencies:你要发的包,所依赖的线上环境下的包。

3、发包

首先进行npm登录npm adduser或者npm login注意npm的源为标准源,不能为淘宝镜像源等
然后执行npm publish将包发布到npm上

npm更新包流程

将npm项目更改后登录npm账号npm adduser或者npm login注意更新后将项目版本号修改,然后执行npm publish将包发布到npm上

npm包使用

执行npm i jic-ui-framework --save-dev将安装包装好,在使用的地方直接通过import引入使用

功能结构及功能

  • 根目录
    • assets
      • css 整体的css样式
      • js
        • axios.js axios的二次封装
        • charts.js 图标函数的封装
        • directive.js vue自定义指令的封装
        • filter.js 全局过滤器的封装
        • ie.js 对ie兼容部分的封装
        • mixin.js 混入函数的的封装
        • sticky.js 粘性定位函数的封装
        • utils.js 其他公用函数的封装
      • fonts 整体字体的封装
      • images
    • components 公共组件
    • router 路由
    • store VueX
    • view 视图
    • widgets 组件