Socket
Book a DemoInstallSign in
Socket

mri-cli

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mri-cli

This is a plugin of MRI project.

1.12.1
latest
npmnpm
Version published
Maintainers
1
Created
Source

This is a plugin of MRI project.

How to use it

>npm install mri-cli -g

Change log

V0.1.4

  • 增加.getMriAdmin文件
// .getMriAdmin file
{
 // 更新指定包
    "packages": {
        "lodash": "^4.17.10",
        "moment": "^2.22.2",
    }
 // 全部重新安装
 // "packages": true,
 // 不更新包
 // "packages": false,
}
  • 增加mri dev 启动时检测更新包功能
  • 增加新建项目功能
mri new name [key1:value1 key2:value2...]
  • name: 新建项目名称
  • [xOrigin:value1 primaryColor:value2, port:value3]: 新建项目可选参数

V0.1.3

  • 增加命令方式安装和升级依赖包
mri upgrade [-r|--reinstall] [packageNames]
  • [-r|--reinstall]: 删除node_modules目录并重新安装
  • [packageNames]: 针对给定包名更新

V0.1.2

  • 增加生成文件头部注释
  • 注释中增加玩具功能天气信息
  • 用户信息请在项目下的.git/config文件中添加[user]信息
[user]
	name  = nickname
	email = nickname@demo.com

效果样例如下:

/**
 * Component of Test
 *
 * @author      nickname
 * @email       nickname@demo.com
 * @create_time 2018/06/27 11:31:51
 * @weather     多云 西南风 阴晴之间,谨防紫外线侵扰
 */

V0.1.1

支持命令方式创建component|widget

>mri component componentName [-w|--widget] [targetPath]
  • componentName : 组件名称
  • [-w|--widget] : 创建为widget, 可选.
  • [targetPath] : 组件目标路径, 可选. 默认为('./src/components').

FAQs

Package last updated on 13 Jul 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.