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

wish-list-npm

v0.5.17

Published

心愿单

Downloads

21

Readme

注意

master分支是全部基于webpack打包的,在低版本安卓手机端不显示; 在vite分支用vite重新配置了打包,可以支持低版本手机了

项目介绍

心愿单

项目地址

本地开发环境:https://y-dev.tuwan.com/chartRoom/wishList?cid=23484&uid=16089384&platform=1

测试环境地址:https://y-test.tuwan.com/wishList?cid=14605&uid=16089384&platform=1

线上环境地址:https://y.tuwan.com/wishList?cid=14605&uid=16089384&platform=1

后端接口地址:https://alidocs.dingtalk.com/i/nodes/a9E05BDRVQN0e16oCNlABBzeJ63zgkYA?cid=56177941642&utm_source=im&utm_scene=person_space&iframeQuery=utm_medium%3Dim_card%26utm_source%3Dim&utm_medium=im_card&corpId=dingbcf4a84114e87a5b35c2f4657eb6378f

技术栈

svelte、webpack

svelte 官网 webpack 文档地址

项目启动

  • npm i 安装依赖
  • npm run dev 本地开发 访问地址: https://y-dev.tuwan.com:8080/
  • npm run build 打包构建
  • npm run start 运行打包后的项目

跑起不起来用yarn node 版本 16.13.1

其他

  1. 项目支持ts, 就可以启用 ts 检测
  2. 打包的配置就一个webpack.config.ts
  3. div 添加点击事件 会报错, 必须给 div 添加 role="presentation"; 这是因为 svelte 的特殊性导致的

上线相关

  • npm run build 是正常打包 打包后的代码在 dist目录下
  • 打包npm 是在public 目录下, 每次发布npm 记得更新版本号