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

rk-web-docs

v1.1.0

Published

An enterprise-class UI design language and Vue-based implementation

Downloads

3

Readme

iep-ui

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint

mock 环境服务启动命令

npm run serve --env=mock

生成分析报告

npm run build --report

项目结构

├──project                              项目名称
   ├── config                           各个环境配置文件
   │   ├── default.yml                  默认环境变量
   │   ├── master.yml                   master分支对应的环境变量
   │   └── staging.yml                  develop分支对应的环境变量
   ├── public
   │   ├── config.json                  生成后端需要的接口地址
   │   ├── config                       静态资源缓存
   │   ├── font                         字体图标
   │   ├── index.html                   人口页面
   │   └── start.sh                     shell脚本  用来读取yml中的变量
   ├── src
   │   ├── api                          接口管理目录
   │   │   └── common.js
   │   ├── assets                       图片资源目录
   │   │   └── images
   │   ├── components                   公共组件目录
   │   │   └── ComponentItem.vue
   │   ├── core                         核心文件目录
   │   │   └── bootstrap.js             启动文件
   │   ├── filters                      公共过滤器
   │   │   └── index.vue
   │   ├── layouts                      外层布局
   │   │   └── BasicLayout.vue
   │   ├── locale                       i18n语言目录
   │   │   └── cn
   │   ├── mapbox                       mapbox地图组件目录
   │   │   └── index.vue
   │   ├── lib                          外部引用的插件存放
   │   │   └── iep-ui.js
   │   └── routers                      前端路由
   │       ├── constant-router.js       前端路由表
   │       ├── generator-router.js      前端动态添加路由
   │       ├── index.vue                 全局路由配置
   │       └── router.config.js         基础路由配置
   │   ├── store                        vuex, 统一管理
   │   │   └── index.vue
   │   ├── styles                       公共样式目录
   │   │   └── common.less
   │   ├── utils                        自定义工具目录
   │   │   └── util.js
   │   └── views                        视图目录
   │       ├── view-module              视图模块
   |            └── index.vue           视图模块的页面
   │       ├── hello.vue
   │       └── notfound.vue
   │   ├── main.js                      入口js文件
   │   ├── App.vue                      根组件
   └── test                             测试文件目录(unit&e2e)
       └── unit                         单元测试
           └── index.vue                 入口脚本
  ├── .gitignore                        git忽略规则
  ├── .gitlab-ci.yml
  ├── babel.config.js                   配置组件按需加载
  ├── default.conf
  ├── Dockerfile                        docker文件配置
  ├── helmx.project.yml                 项目描述,项目名(又叫服务名,namespace),组名
  ├── helmx.yml                         端口映射
  ├── hemx.demo.yml                     master主分支发布到外网对应的地址
  ├── package.json                      npm包配置文件,里面定义了项目的npm脚本,依赖包等信息
  ├── readmd.md                         项目描述文件
  └── vue.config.js                     webpack配置文件

访问地址

https://rk-web-docs---iep.jiahuayun-huanbao-dev.rocktl.com