Socket
Book a DemoInstallSign in
Socket

@gmkj/gm-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gmkj/gm-cli

GM CLI

latest
npmnpm
Version
0.0.1-beta.2
Version published
Maintainers
1
Created
Source

冠美前端CLI

架构图

架构图

能力列表

  • gm login // 使用组件管理库账号登录
  • gm query {{componentName}} // 组件查询并下载 支持模糊查询
  • gm upload {{componentName}} // 上传组件到组件管理库
  • gm build-npm // 快速提取组件的dependencies到项目的package.json中
  • gm create {{componentName}} // 快速在本地生成一个组件模板
  • gm logout // 注销

开发流程

参考 https://oclif.io/

本地调试

1、将本地包link到全局

sudo npm link

2、运行 pnpm install 安装依赖

3、修改package.json中的 bin.gm./bin/dev

4、运行gm [command] 查看修改效果

Keywords

gmkj

FAQs

Package last updated on 13 Apr 2023

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