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 🙏

© 2026 – Pkg Stats / Ryan Hefner

dareway_work_flow

v1.0.0-beta

Published

组件库

Readme

单体应用框架

框架复制为应用流程

1.框架下载完成后,删除框架中的svn文件,将框架文件夹名称重命名为项目名(例如robot)
2.修改package.json中的name与description为对应的项目名称和项目描述
3.修改package-lock.json中的name为对应的项目名称
4.修改config/index.js中的dev->assetsSubDirectory和build->assetsSubDirectory为对应的项目名称
5.修改index.html中的script标签的src路径为对应项目名开头

应用打包流程

1. 信息资源发布
    1)封版现有可视化页面的版本,分享出url做记录。
    2)使用ire信息资源发布功能,发布信息资源
    3)使用ire信息资源发布功能,发布可视化文件
    4)下载信息资源视图定义和可视化页面文件
2. 单体应用前端程序下载及打包
    使用npm run build
3. 单体应用后端程序下载
4. 文件复制
    1)将前端打包后dist->[项目名]下的文件和index.html一起复制到后台程序 [项目名]-service\src\main\resources\static\ 下
    2)把1.4下载的文件复制到  [项目名]-service\src\main\resources\ireFile\ 下
    3) 在[项目名]-service\src\main\resources\application-uaa.yml中dareway->security->ignore->httpUrls下增加/[项目名]/**和/index.html,保证前端资源可以不经过权限校验正常访问
5. 后端程序打包
   使用mvn clean package
6、程序部署
    停tomcat、上传war包、启动tomcat
7、菜单创建及授权
   创建外链类型的菜单

文档在线编辑功能

1.文档在线编辑功能依赖【onlyoffice编辑服务】。目前【onlyoffice编辑服务】部署在10.1.60.226服务器
2.各项目可根据具体的业务需求自行搭建【onlyoffice编辑服务】,搭建指南:https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx
3.index.html中已引入onlyoffice编辑器js库
<script type="text/javascript" src="http://10.1.60.226:8312/web-apps/apps/api/documents/api.js"></script>
4.main.js中【officeSaveUrl】为文档中心保存回调接口地址,后端框架中已集成该方法,使用时需要更改IP+端口。
5.main.js中【minioBaseUrl】为文档存放在minio中的地址和桶,该地址需要可以被onlyOffice后台服务访问到,使用时需修改IP+端口+桶。
6.【officeSaveUrl】需保证【onlyoffice编辑服务】可以调用的到
7.将左侧栏展示onlyoffice信息的按钮隐藏,/var/lib/docker/overlay2/47aef60c7f354e68a67e8b96a475e8e0320a175d05a3864997c674fa72ee6fc8/merged/var/www/onlyoffice/documentserver/web-apps/apps/documenteditor(presentationeditor/spreadsheeteditor)/main
  三条路径下的app.js中,查找id为"left-btn-about"的button,分别添加样式"style="display:none""