Socket
Socket
Sign inDemoInstall

@miapp/cli

Package Overview
Dependencies
Maintainers
7
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@miapp/cli

小程序开发命令行工具


Version published
Weekly downloads
21
increased by600%
Maintainers
7
Weekly downloads
 
Created
Source

@miapp/cli

小程序开发命令行工具

NPM version

安装

npm i @miapp/cli -g

命令

  • miapp init 初始化脚手架
  • miapp config 配置信息
  • miapp newbranch 新建分支
  • miapp lint 格式检查
  • miapp commit 提交代码
  • miapp push 推送代码
  • miapp build 代码构建
  • miapp prepub 预发布
  • miapp publish 正式发布
  • miapp upload 文件上传 OSS

init 自动创建 gitlab 仓库

需要添加 gitlab api 和 token,token 在 http://gitlab.alibaba-inc.com/profile/account 里可以查看

miapp config gitlab.api http://gitlab-sc.alibaba-inc.com/api/v3
miapp config gitlab.token your_token

upload 图片压缩上传

需要添加阿里云 OSS 配置

miapp config -o
miapp upload <source> [target]
  • source

本地路径或网络链接

  • target

OSS 路径

Dev

  1. npm link,启动本地调试
  2. 规范提交git commit
  3. npm pub,自动更新并发布新版本

Keywords

FAQs

Package last updated on 18 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc