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

@activity-com/image-container

v6.5.1

Published

可添加热区的图片容器

Downloads

129

Readme

@xmc/image-container

Command

yarn start              # 启动调试,Editor & 页面
yarn start --list       # 启动调试,自动打开活动列表页
yarn start -d           # 启动调试,禁止自动打开浏览器(配合 vscode debugger 调试时推荐)
yarn start --editor     # 仅启动 editor 调试
yarn start --node       # 仅启动 SSR 页面调试

yarn build              # 编译打包

yarn pub                # 发布组件
yarn pub -r             # 发布组件,支持选择版本

yarn upg                # 升级组件调试编译核心能力(包含 @xmc/component-scripts、@xmly/component-core-dependencies 以及自动更新 package.json 等)
yarn upg --core         # 强制升级 @xmly/component-core-dependencies,即使已是最新版本也会重装(包含 @xmly/activity-maker-core、@xmly/activity-maker-actions 等)

yarn commit             # commit 提交(替代 git commit)

Documentation

Construction

├── .cca/                       # 调试工具的缓存目录(用于安装远程组件)
├── .vscode/                    # vscode 默认配置(推荐 git 提交)
├── dist/                       # 组件打包输出
├── node_modules/
├── src/                        # 源码
│   ├── node/                       # 组件渲染代码(SSR 服务端渲染,需要包含组件的完整功能)
│   ├── preview/                    # preview 编辑预览代码
│   ├── setting/                    # setting 配置
│   ├── default-props.ts            # 组件配置的默认值(forms props)—— 合适、恰当的默认 forms props,会有助于运营同学理解“你的组件怎样配置”
│   ├── setupProxy.js               # 接口调试 proxy(可删除)
│   ├── type.ts                     # form props TS 类型定义(仅用于定义 props)
│   └── typings.d.ts                # TS 全局类型定义(相当于 React 项目的 react-app-env.d.ts)
├── .env.development            # yarn start:editor 环境变量
├── .env.node.development       # yarn start:node 环境变量
├── .gitignore
├── .yarnrc
├── CHANGELOG.md
├── README.md
├── package.json
├── tsconfig.json
└── yarn.lock