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

mxmp-cli

v1.0.0

Published

A simple CLI for scaffolding moxin projects, we provide mxmp-template to quickly build small and medium sized app.

Downloads

3

Readme

mxmp-cli

mxmp-cli 是 配合 mxmp 框架使用的命令行工具

命令行使用

1、安装

npm i mxmp-cli -g

如果出现permission denied等相关权限的错误提示,请使用管理员身份或root身份运行,如 mac:sudo npm i mxmp-cli -g

2、更新

npm update mxmp-cli -g

3、使用

3-1、创建应用

mxmp create [projectName]
  • projectName: 工程名称(选题,默认:mxmp-demo

3-2、项目主框架升级至最新版本

mxmp update

3-3、调试开发

mxmp dev

3-4、编译构造

mxmp build

3-5、创建vue页面示例模板

mxmp vue [pageName]
  • pageName: 页面名称

3-6、安装插件

mxmp plugin [command] [pluginName]
  • command: 命令(安装:install,卸载:uninstall,修复:repair,创建:create,发布:publish
  • pluginName: 插件名称(插件列表可以查看https://mexin.app/markets/
  • command为repair时pluginName可留空。
//安装插件示例:
mxmp plugin install pay

//卸载插件示例:
mxmp plugin uninstall pay

//修复插件示例:
mxmp plugin repair

//创建插件示例:
mxmp plugin create pluginDemo

//发布插件示例:
mxmp plugin publish pluginDemo

3-7、App设置(应用名称、版本等)

mxmp setting

3-8、设置App模板(初始化演示模板)

mxmp setdemo

3-9、一键云修复文件(热更新)

mxmp repair

3-10、一键设置应用图标

mxmp icons [id]

3-11、一键设置应用启动图

mxmp launchimage [id]

3-12、登录云中心

mxmp login

3-13、登出云中心

mxmp logout

3-14、备份项目开发文件

mxmp backup

3-15、恢复项目开发文件

mxmp recovery

4、版本及帮助

mxmp -v    // 查看当前cli版本
mxmp -h    // 命令帮助信息