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

imui

v2.1.4

Published

another ui, from imweb team

Downloads

47

Readme

IMWeb · UI

  • React & Redux
  • 专注管理后台
  • 务必保证本地 node 在 8.x 版本,拥抱 es6
  • 提交代码必须拉分支
  • 发布周期,每周二、每周五

使用

安装

npm install imui --save

引入

import { DatePicker } from 'imui';
ReactDOM.render(<DatePicker />, mountNode);

// 或者按需引用,打包的时候只会打包 tab
import Tab from 'imui/dist/tab/index';

开发

  • 分支,主干是随时会发布到 npm 的,贡献组件务必拉分支

  • .editorconfig,请让自己的编辑器支持这个

  • wiki请仔细阅读

  • 规范eslint 和 sasslint 必须验证通过

项目目录

external 一些和 **组件** 无关的资源
mock 开发过程中可能需要模拟一些数据 [文档](http://fis.baidu.com/fis3/docs/node-mock.html)
imui 静态站点的目录,生成站点的时候出现
dist 编译后的文件目录,发布到 npm 时出现
build 构建相关的脚本

组件目录

所有文件都是 .jsx

tab/
  demo/    必须
    index.html   必须,可以在上面 dev ,顺边做为 demo ,这个会自动生成到 demo 首页
  style/   必须,组件样式
  lib/     非必须,可以用 src 什么的替代
  index.jsx   必须,入口文件

样式

类名必须以 im- 开头。

.im-tab {
  // 头部
  &-hd {
    @extend %clearfix;
    font-size: 16px;
    background: #fff;
  }
}

调试

npm start

http://127.0.0.1:3000/ # 首页
http://127.0.0.1:3000/components/tab.html # 单个组件

单元测试

npm run test

文档化

npm run docz:dev     // 站点本地调试
npm run docz:build   // 站点构建

发布

发布到 npm

npm run dist

发布到 imweb.github.io

npm run pubsite