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

pit-business-jxh-ui

v0.0.11

Published

湖南创智艾泰克科技有限公司

Downloads

194

Readme

pit-platform-web

环境要求

  • Node.js 最新版本
  • git

使用说明

安装依赖

npm i

# 如果下载速度比较慢,可通过以下方式解决
npm i --registry=https://registry.npm.taobao.org

开发环境

  • 打开src/utils/define.js,修改接口地址
  // 开发环境接口配置
  const APIURl = 'http://192.168.0.25:30000'
  • 运行前端项目(默认会自动打开浏览器)
npm run dev

测试生产发布

# 构建测试环境,对应.env.staging文件配置
npm run build:staging

# 构建生产环境,对应.env.production文件配置
npm run build

其它

# 预览发布环境效果
npm run preview

# 预览发布环境效果 + 静态资源分析
npm run preview -- --report

# 代码格式检查
npm run lint

# 代码格式检查并自动修复
npm run lint -- --fix

常见问题

  • 出现 npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out报错

Windows 环境下,打开C:\Windows\System32\drivers\etc\host文件,添加以下内容

52.74.223.119  github.com